Function at 0x4e20f0
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 0x592ee6
push eax
mov eax, 0x2750
mov dword fs:[0], esp
call fcn.00555ae0
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.00555020
lea edx, [ebp - 0x428]
push 0x104
push edx
call fcn.0050a5a0
add esp, 0x14
test eax, eax
jne 0x4e2170
push 0x30
push 0x5a4ea4
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 [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
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 0x5a06c8
push ecx
call fcn.004060d0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004fbba0
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 0x4e21d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00407db0
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.004fbc20
test al, al
sete byte [ebp - 0x11]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 8
jb 0x4e2216
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00553d26
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 0x4e227f
push 0x30
push 0x5a4ea4
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.004fbbd0
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 0x4e226c
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.00401ee0
push eax
push 0x5fd7c0
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 0x4e24e3
xor esi, esi
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x28], ebx
jle 0x4e24e3
nop
mov edx, dword [edi + esi*4]
push 0x5a5c60
push edx
call fcn.005571bb
add esp, 8
test eax, eax
jne 0x4e24d6
push 0x206
lea ecx, [ebp - 0x62e]
push ebx
push ecx
mov word [ebp - 0x630], ax
call fcn.00555020
add esp, 0xc
push 0x104
lea edx, [ebp - 0x630]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4e24d6
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 0x4e257e
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.00407430
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 0x4e2572
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0x59e4c4
push edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x4e2572
cmp dword [ebp - 0x5c], 0x34
jne 0x4e2572
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4e2572
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.00555020
push 0xa
push 6
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.00556e7c
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1cc]
push 0x64
push eax
call fcn.00556d28
push 0x59d7d4
lea ecx, [ebp - 0x1cc]
push 0x64
push ecx
call fcn.00556d28
push 0xa
push 6
lea edx, [ebp - 0x84]
push edx
push edi
call fcn.00556e7c
add esp, 0x44
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x1cc]
push 0x64
push edx
call fcn.00556d28
push 0x59d7d4
lea eax, [ebp - 0x1cc]
push 0x64
push eax
call fcn.00556d28
movzx edx, word [ebp - 0x1c]
push 0xa
push 6
lea ecx, [ebp - 0x84]
push ecx
push edx
call fcn.00556e7c
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x1cc]
push 0x64
push ecx
call fcn.00556d28
add esp, 0x34
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 0xffffffff
je 0x4e24c4
lea edx, [ebp - 0x85c]
push edx
push esi
mov dword [ebp - 0x85c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4e24bd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
jmp 0x4e24a0
cmp dword [ebp - 0x854], edi
je 0x4e25af
lea eax, [ebp - 0x85c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4e24a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004055a0
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
inc esi
mov dword [ebp - 0x50], esi
cmp esi, dword [ebp - 0x28]
jl 0x4e22c0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x5f7bf0], ebx
call fcn.004f0450
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x4e268d
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], 0x5a53ac
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x4c], 0x5a53c0
mov byte [ebp - 4], 0xb
call edi
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0x5fd800
call fcn.004125d0
mov edx, dword [0x5fd7c0]
push ebx
push 0x4129f0
push esi
push 0x75
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [ebp - 0x48], ebx
cmp eax, 2
jne 0x4e2666
push 1
call fcn.0055a59c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004055a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004fbbd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d60
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 0x4e262c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0x4000
push eax
call fcn.0055b1e9
push 0x5a5c5c
push eax
call fcn.0055aca4
add esp, 0x10
mov esi, eax
call fcn.0055aaef
push ebx
lea edi, [eax + 0x20]
push 4
mov ecx, 8
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0055aaef
add eax, 0x20
push eax
call fcn.0055a9f9
lea edx, [ebp - 0x1cc]
push edx
push 0x59e304
call fcn.005580e7
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.004055a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004fbbd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d60
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 0x4e2672
push 1
call fcn.0055a59c
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 0x4e268d
push eax
call fcn.00552eea
mov ecx, dword [ebp + 8]
mov dword [0x5f7934], ebx
cmp word [ecx + 2], 0x77
jne 0x4e26a7
mov dword [0x5f7934], 1
lea ecx, [ebp - 0x104]
call fcn.004e4dc0
mov byte [ebp - 4], 0x11
call edi
mov esi, eax
cmp dword [ebp - 0xf0], ebx
jne 0x4e26db
call fcn.00552f9a
mov dword [ebp - 0xf0], eax
cmp eax, ebx
jne 0x4e26db
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4e2711
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0xfc]
push eax
push 0x5fd800
call fcn.004125d0
mov ecx, dword [0x5fd7c0]
push ebx
push 0x4129f0
push esi
push 0xe4
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x4e274b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.004ccdf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004fbbd0
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 0x4e2260
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.004d0c70
add esp, 8
test al, al
je 0x4e27aa
cmp dword [ebp - 0x64], 0x10
jb 0x4e2a1b
mov esi, dword [ebp - 0x78]
cmp esi, ebx
je 0x4e27aa
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [0x5f1030]
jmp 0x4e27b0
mov eax, dword [ebp - 0xe4]
mov dword [0x5f7938], eax
jmp 0x4e27c1
mov dword [ebp - 0xdc], 0x5a53a0
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, 0x5f793c
call fcn.004ccbd0
lea ecx, [ebp - 0x18]
call fcn.00513a70
mov byte [ebp - 4], 0x18
call fcn.00451470
lea ecx, [ebp - 0x275c]
call fcn.004dac00
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 - 0x275c]
mov dword [eax], ebx
call fcn.004ce1d0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2758]
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 0x4e28f6
cmp dword [ebp - 0x21c], 5
jne 0x4e28f6
cmp dword [ebp - 0x218], 1
jne 0x4e28f6
cmp word [ebp - 0x10c], 2
jne 0x4e28f6
lea ecx, [ebp - 0x18]
call fcn.00513a80
cmp eax, ebx
jne 0x4e28f6
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00513bc0
cmp dword [ebp - 0x2c], ebx
je 0x4e28ee
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00514340
cmp dword [ebp - 0x1c], ebx
je 0x4e28c7
push ebx
lea ecx, [ebp - 0x18]
call fcn.005143f0
push 0x104
lea eax, [ebp - 0x630]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5a4ea4
lea ecx, [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00513df0
lea ecx, [ebp - 0x18]
call fcn.00513ba0
lea ecx, [ebp - 0xdc]
call fcn.004ca810
mov esi, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x275c]
call fcn.004e1e10
mov ecx, 0x5f793c
call fcn.004cd530
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x18]
call fcn.00514490
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xcc]
cmp eax, ebx
je 0x4e2945
push eax
call fcn.00554c82
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 0x4e296e
push eax
call fcn.00554c82
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 0x4e2996
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00553d26
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 0x4e29be
mov eax, dword [ebp - 0x78]
push eax
call fcn.00553d26
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.004ccdf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004fbbd0
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 0x4e2a08
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 0x4e279b