Function at 0x593c30
Capabilities:
Accept command line arguments
Check os version
Enumerate processes
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6646c6
push eax
mov eax, 0x2804
mov dword fs:[0], esp
call fcn.00612380
push ebx
push esi
push edi
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x426]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x428], ax
call fcn.006100a0
lea edx, [ebp - 0x428]
push 0x104
push edx
call fcn.005bd790
add esp, 0x14
test eax, eax
jne 0x593cb0
push 0x30
push 0x67d32c
push str.Cant_find_path_to_the_application_resources._Please__reinstall_application.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
push str.SCRes.dll
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x10]
push str._s_s
push ecx
call fcn.00405ab0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.005b2ad0
mov byte [ebp - 4], 2
xor edx, edx
mov word [ebp - 0x48], dx
mov edx, dword [ebp - 0x10]
mov edi, 7
mov eax, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x593d10
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00407940
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.005b2b60
test al, al
sete byte [ebp - 0x11]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x593d56
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0060faf6
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp byte [ebp - 0x11], bl
je 0x593dbf
push 0x30
push 0x67d32c
push str.Cant_load_resources._Please__reinstall_application.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005b2b10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x593dac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
call fcn.005b2b00
push eax
push 0x716738
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x54], edi
cmp edi, ebx
je 0x594023
xor esi, esi
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x28], ebx
jle 0x594023
nop
mov edx, dword [edi + esi*4]
push 0x67e058
push edx
call fcn.00611e0e
add esp, 8
test eax, eax
jne 0x594016
push 0x206
lea ecx, [ebp - 0x62e]
push ebx
push ecx
mov word [ebp - 0x630], ax
call fcn.006100a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x630]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x594016
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x88]
push eax
push ecx
mov dword [ebp - 0x88], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x5940be
lea edx, [ebp - 0x11]
push edx
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0041b710
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
push edi
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5940b2
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0x66ea40
push edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x5940b2
cmp dword [ebp - 0x5c], 0x34
jne 0x5940b2
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x5940b2
movzx esi, word [eax + 0xa]
movzx edi, word [eax + 0x10]
movzx eax, word [eax + 0xe]
push 0xc6
lea edx, [ebp - 0x1ca]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x1cc], cx
call fcn.006100a0
push 0xa
push 6
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.00615649
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1cc]
push 0x64
push eax
call fcn.006154f5
push 0x671930
lea ecx, [ebp - 0x1cc]
push 0x64
push ecx
call fcn.006154f5
push 0xa
push 6
lea edx, [ebp - 0x84]
push edx
push edi
call fcn.00615649
add esp, 0x44
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x1cc]
push 0x64
push edx
call fcn.006154f5
push 0x671930
lea eax, [ebp - 0x1cc]
push 0x64
push eax
call fcn.006154f5
movzx edx, word [ebp - 0x1c]
push 0xa
push 6
lea ecx, [ebp - 0x84]
push ecx
push edx
call fcn.00615649
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x1cc]
push 0x64
push ecx
call fcn.006154f5
add esp, 0x34
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
je 0x594004
lea edx, [ebp - 0x85c]
push edx
push esi
mov dword [ebp - 0x85c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x593ffd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
jmp 0x593fe0
cmp dword [ebp - 0x854], edi
je 0x5940ef
lea eax, [ebp - 0x85c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x593fe0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00473a40
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
inc esi
mov dword [ebp - 0x50], esi
cmp esi, dword [ebp - 0x28]
jl 0x593e00
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x71476c], ebx
call fcn.005a6430
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x5941cd
lea edx, [ebp - 0x44]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 9
mov dword [ebp - 0x4c], 0x67d7dc
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x4c], 0x67d7f0
mov byte [ebp - 4], 0xb
call edi
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0x716768
call fcn.00426c90
mov edx, dword [0x716738]
push ebx
push 0x427de0
push esi
push 0x75
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [ebp - 0x48], ebx
cmp eax, 2
jne 0x5941a6
push 1
call fcn.00618b3a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00473a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005b2b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x844]
push ecx
call dword [sym.imp.KERNEL32.dll_AttachConsole]
cmp eax, ebx
je 0x59416c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0x4000
push eax
call fcn.0061a243
push 0x67e054
push eax
call fcn.00619cfe
add esp, 0x10
mov esi, eax
call fcn.00615c0e
push ebx
lea edi, [eax + 0x20]
push 4
mov ecx, 8
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00615c0e
add eax, 0x20
push eax
call fcn.00615fa9
lea edx, [ebp - 0x1cc]
push edx
push 0x66edc0
call fcn.006123dc
mov eax, dword [ebp - 0x54]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00473a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005b2b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004014a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
je 0x5941b2
push 1
call fcn.00618b3a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x5941cd
push eax
call fcn.0060ec68
mov ecx, dword [ebp + 8]
mov dword [0x7143c0], ebx
cmp word [ecx + 2], 0x77
jne 0x5941e7
mov dword [0x7143c0], 1
lea ecx, [ebp - 0x104]
call fcn.00596450
mov byte [ebp - 4], 0x11
call edi
mov esi, eax
cmp dword [ebp - 0xf0], ebx
jne 0x59421b
call fcn.0060ed18
mov dword [ebp - 0xf0], eax
cmp eax, ebx
jne 0x59421b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x594251
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0xfc]
push eax
push 0x716768
call fcn.00426c90
mov ecx, dword [0x716738]
push ebx
push 0x427de0
push esi
push 0xe4
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x59428b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.0057db60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005b2b10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x593da0
mov edi, 0xf
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.00581280
add esp, 8
test al, al
je 0x5942ea
cmp dword [ebp - 0x64], 0x10
jb 0x59455b
mov esi, dword [ebp - 0x78]
cmp esi, ebx
je 0x5942ea
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [0x6fb370]
jmp 0x5942f0
mov eax, dword [ebp - 0xe4]
mov dword [0x7143f8], eax
jmp 0x594301
mov dword [ebp - 0xdc], 0x67d7d0
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, 0x7143fc
call fcn.0057d840
lea ecx, [ebp - 0x18]
call fcn.005bffc0
mov byte [ebp - 4], 0x18
call fcn.004d4470
lea ecx, [ebp - 0x2810]
call fcn.0058aff0
mov byte [ebp - 4], 0x19
push ebx
push ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push ebx
lea ecx, [ebp - 0x2810]
mov dword [eax], ebx
call fcn.0057eba0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x280c]
push edx
push eax
mov dword [section..shr], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 0x220], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x594436
cmp dword [ebp - 0x21c], 5
jne 0x594436
cmp dword [ebp - 0x218], 1
jne 0x594436
cmp word [ebp - 0x10c], 2
jne 0x594436
lea ecx, [ebp - 0x18]
call fcn.005bffd0
cmp eax, ebx
jne 0x594436
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005c0110
cmp dword [ebp - 0x2c], ebx
je 0x59442e
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.005c0890
cmp dword [ebp - 0x1c], ebx
je 0x594407
push ebx
lea ecx, [ebp - 0x18]
call fcn.005c0940
push 0x104
lea eax, [ebp - 0x630]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x67d32c
lea ecx, [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x18]
call fcn.005c0340
lea ecx, [ebp - 0x18]
call fcn.005c00f0
lea ecx, [ebp - 0xdc]
call fcn.0057b4d0
mov esi, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2810]
call fcn.005939c0
mov ecx, 0x7143fc
call fcn.0057e090
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x18]
call fcn.005c09e0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xcc]
cmp eax, ebx
je 0x594485
push eax
call fcn.0061056f
add esp, 4
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xd8]
cmp eax, ebx
je 0x5944ae
push eax
call fcn.0061056f
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x90], 0x10
jb 0x5944d6
mov edx, dword [ebp - 0xa4]
push edx
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x64], 0x10
jb 0x5944fe
mov eax, dword [ebp - 0x78]
push eax
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.0057db60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005b2b10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x594548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x78]
jmp 0x5942db