Function at 0x482690
Capabilities:
Accept command line arguments
Enumerate processes
Get file version info
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f732
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x920]
push eax
lea ecx, [ebp - 0x924]
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edi, dword [ebp - 0x924]
xor esi, esi
xor eax, eax
mov ecx, edi
test edi, edi
je 0x4826f5
jmp 0x4826f0
inc eax
shr ecx, 1
jne 0x4826f0
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x482702
push 1
jmp 0x482711
test eax, eax
jle 0x482710
add esi, esi
dec eax
or esi, 1
test eax, eax
jg 0x482706
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push str.REPORTWIZARD_B6C3E4F1_C456_4f15_9D44_BF3B24B74160
call fcn.004a6340
add esp, 4
test al, al
je 0x482741
mov edx, dword [section..shr]
push edx
call fcn.004a6380
add esp, 4
xor eax, eax
jmp 0x482ecf
push str.REPORTWIZARD_B6C3E4F1_C456_4f15_9D44_BF3B24B74160
call fcn.004a6320
add esp, 4
lea eax, [ebp - 0x8f0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48273a
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [ebp - 0x90c]
mov esi, 8
push ecx
mov dword [ebp - 0x90c], esi
mov dword [ebp - 0x908], 0x104
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [ebp + 8]
push 0
push edx
push 0
mov ecx, 0x58e55c
call fcn.0047da10
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x42a]
push ecx
mov word [ebp - 0x42c], ax
call fcn.004f0550
lea edx, [ebp - 0x42c]
push 0x104
push edx
call fcn.004b4680
add esp, 0x14
test eax, eax
jne 0x4827fa
push 0x30
push str.Report_Wizard
push str.Cant_find_path_to_the_application_resources._Please__reinstall_application.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x482ecf
mov eax, dword [0x58c214]
mov edx, dword [eax + 0xc]
mov ecx, 0x58c214
call edx
add eax, 0x10
mov dword [ebp - 0x8f4], eax
mov dword [ebp - 4], 1
push str.RWRes.dll
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x8f4]
push str._s_s
push ecx
call fcn.00401f60
add esp, 0x10
lea ecx, [ebp - 0x904]
call fcn.004a7cf0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x8f4]
push edx
lea ecx, [ebp - 0x448]
call fcn.0041b2e0
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x904]
call fcn.004a7d70
test al, al
sete bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x434], esi
jb 0x482892
mov ecx, dword [ebp - 0x448]
push ecx
call fcn.004efd7c
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x434], 7
mov dword [ebp - 0x438], esi
mov word [ebp - 0x448], dx
test bl, bl
je 0x4828ec
push 0x30
push str.Report_Wizard
push str.Cant_load_resources._Please__reinstall_application.
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x904]
call fcn.004a7d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8f4]
call fcn.00401ac0
xor eax, eax
jmp 0x482ecf
lea ecx, [ebp - 0x904]
call fcn.0048a010
push eax
push 0x594ad0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [ebp - 0x910]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x8fc], edi
cmp edi, esi
je 0x482b82
mov dword [ebp - 0x918], esi
cmp dword [ebp - 0x910], esi
jle 0x482b82
lea esp, [esp]
mov ecx, dword [edi + esi*4]
push 0x5407fc
push ecx
call fcn.004f4cb4
add esp, 8
test eax, eax
jne 0x482b6f
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x222]
push eax
mov word [ebp - 0x224], dx
call fcn.004f0550
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x482b6f
mov eax, dword [ebp - 0x8f4]
lea edx, [ebp - 0x908]
push edx
push eax
mov dword [ebp - 0x908], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x482cac
lea ecx, [ebp - 0x8f5]
push ecx
push esi
lea ecx, [ebp - 0x43c]
mov byte [ebp - 0x8f5], 0
call fcn.00443e80
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x8f4]
push edi
push esi
xor esi, esi
push esi
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x482c9d
lea eax, [ebp - 0x914]
push eax
lea ecx, [ebp - 0x91c]
push ecx
push 0x53bb00
push edi
mov dword [ebp - 0x91c], esi
mov dword [ebp - 0x914], esi
call sub.VERSION.dll_VerQueryValueW
cmp eax, esi
je 0x482c9d
cmp dword [ebp - 0x914], 0x34
jne 0x482c9d
mov eax, dword [ebp - 0x91c]
cmp eax, esi
je 0x482c9d
movzx edi, word [eax + 0xa]
movzx ebx, word [eax + 0x10]
movzx esi, word [eax + 0xe]
xor edx, edx
push 0xc6
push edx
lea eax, [ebp - 0x512]
push eax
mov word [ebp - 0x514], dx
call fcn.004f0550
push 0xa
push 6
lea ecx, [ebp - 0x1c]
push ecx
push edi
call fcn.004f64b1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x514]
push 0x64
push ecx
call fcn.004f43d5
push 0x53bf58
lea edx, [ebp - 0x514]
push 0x64
push edx
call fcn.004f43d5
push 0xa
push 6
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004f64b1
add esp, 0x44
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x514]
push 0x64
push eax
call fcn.004f43d5
push 0x53bf58
lea ecx, [ebp - 0x514]
push 0x64
push ecx
call fcn.004f43d5
push 0xa
push 6
lea edx, [ebp - 0x1c]
push edx
push esi
call fcn.004f64b1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x514]
push 0x64
push edx
call fcn.004f43d5
add esp, 0x34
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x482b54
lea eax, [ebp - 0x760]
push eax
push ebx
mov dword [ebp - 0x760], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x482b4d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
jmp 0x482b30
cmp dword [ebp - 0x758], esi
je 0x482cd7
lea ecx, [ebp - 0x760]
push ecx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x482b30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
call fcn.00442d00
mov edi, dword [ebp - 0x8fc]
mov esi, dword [ebp - 0x918]
inc esi
mov dword [ebp - 0x918], esi
cmp esi, dword [ebp - 0x910]
jl 0x482940
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0049a770
test eax, eax
je 0x482df2
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x482da6
push 0x22c
lea edx, [ebp - 0x760]
push 0
push edx
call fcn.004f0550
add esp, 0xc
lea eax, [ebp - 0x760]
push eax
push edi
mov dword [ebp - 0x760], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
setne bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x908], eax
test bl, bl
je 0x482c21
mov ecx, dword [ebp - 0x908]
cmp ecx, dword [ebp - 0x758]
jne 0x482c02
mov esi, dword [ebp - 0x748]
mov dword [ebp - 0x760], 0x22c
test esi, esi
jne 0x482c21
lea edx, [ebp - 0x760]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x482bee
mov eax, dword [ebp - 0x748]
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x482da6
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x482da6
lea edx, [ebp - 0x8fc]
push edx
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x8fc], 0x5c
call fcn.004f6324
add esp, 8
test eax, eax
je 0x482d6a
lea ecx, [ebp - 0x8fc]
push ecx
push 0
mov esi, eax
call fcn.004f6324
add esp, 8
test eax, eax
jne 0x482c81
jmp 0x482d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
call fcn.00442d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x904]
call fcn.004a7d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8f4]
call fcn.00401ac0
mov eax, 1
jmp 0x482ecf
mov edx, dword [ebp - 0x748]
push edx
call dword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
je 0x482d56
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0x4000
push eax
call fcn.004f620e
push 0x5407f8
push eax
call fcn.004f5cc9
add esp, 0x10
mov esi, eax
call fcn.004f5b14
push 0
lea edi, [eax + 0x20]
push 4
mov ecx, 8
push 0
rep movsd dword es:[edi], dword [esi]
call fcn.004f5b14
add eax, 0x20
push eax
call fcn.004f5a1e
lea eax, [ebp - 0x514]
push eax
push 0x53cf14
call fcn.004f269c
mov ecx, dword [ebp - 0x8fc]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
call fcn.00442d00
jmp 0x4828c4
mov esi, dword [ebp - 0x920]
mov ecx, 0x5407dc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482d9d
test dx, dx
je 0x482d99
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482d9d
add eax, 4
add ecx, 4
test dx, dx
jne 0x482d77
xor eax, eax
jmp 0x482da2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x482df2
lea ecx, [ebp - 0x44c]
call fcn.00480330
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
call esi
push eax
lea ecx, [ebp - 0x44c]
call fcn.00480920
cmp eax, 2
jne 0x482dd5
push 1
call fcn.004f59b6
cmp eax, 1
je 0x482de1
push 1
call fcn.004f59b6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44c]
call fcn.00480480
jmp 0x482df8
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [ebp - 0x948]
call fcn.0048baa0
mov byte [ebp - 4], 6
push 0
call esi
push eax
lea ecx, [ebp - 0x948]
call fcn.004808c0
push 0
call esi
push eax
lea ecx, [ebp - 0x948]
call fcn.004808c0
push 0
cmp eax, 1
je 0x482e33
call fcn.004f59b6
mov edx, dword [ebp - 0x928]
lea ecx, [ebp - 0x534]
mov dword [0x58e52c], edx
call fcn.004306f0
mov byte [ebp - 4], 7
call esi
push eax
lea ecx, [ebp - 0x534]
call fcn.004804e0
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x534]
call fcn.00430d70
lea ecx, [ebp - 0x904]
call fcn.004a7d00
mov ecx, 0x58e55c
call fcn.00480750
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x940]
mov dword [ebp - 0x908], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x934]
test eax, eax
je 0x482eac
push eax
call fcn.004ef752
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x904]
call fcn.004a7d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8f4]
call fcn.00401ac0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0194
mov esp, ebp
pop ebp
ret 0x10