Function at 0x471c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
cmp dword [0x52e074], ecx
push ebx
mov bl, byte [ebp + 8]
setne cl
movzx eax, bl
cmp ecx, eax
je 0x47203b
cmp dword [ebp + 0xc], 1
je 0x47203b
cmp byte [0x52e0a0], 0
push esi
jne 0x471d29
push 0x4f5198
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push 0x4f51b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4f51c0
push esi
mov dword [0x52e078], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4f51d0
push esi
mov dword [0x52e07c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4f51dc
push esi
mov dword [0x52e080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52e084], eax
mov byte [0x52e0a0], 1
cmp dword [0x52e078], 0
jne 0x471d47
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
push 0x4f4
lea eax, [ebp - 0x618]
push 0
push eax
call fcn.004aa220
add esp, 0xc
mov dword [ebp - 0x61c], 0x4f8
mov dword [ebp - 0x5f0], 0x20000
mov dword [ebp - 0x5d8], 1
call fcn.00469cf0
movzx eax, al
shl eax, 0x19
or eax, 0x100
mov dword [ebp - 0x5f4], 1
mov dword [ebp - 0x5dc], eax
call fcn.00469cf0
test al, al
jne 0x471db2
movups xmm0, xmmword [0x4f4c7c]
movups xmmword [ebp - 0x604], xmm0
mov dword [ebp - 0x5ac], 0x78
mov dword [ebp - 0x5b0], 0x280
call fcn.00469cf0
test al, al
mov edx, 0x4f5130
mov ecx, 0x4f5114
lea eax, [ebp - 0x5a4]
cmove ecx, edx
push ecx
push 0x104
push eax
call fcn.004ba210
push 0x4e454c
lea eax, [ebp - 0x39c]
push 0x104
push eax
call fcn.004ba210
push 0x100
lea eax, [ebp - 0x110]
mov dword [ebp - 0x124], 0x11c
push 0
push eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call fcn.004aa220
add esp, 0x24
xor eax, eax
mov word [ebp - 0xe], ax
mov dword [ebp - 0xc], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x23
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], 6
xor ecx, ecx
mov dword [ebp - 0x11c], 0
push eax
mov word [ebp - 0x10], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x471e9e
or dword [ebp - 0x5d4], 0x10000
jmp 0x471f1b
movups xmm0, xmmword [0x4f5158]
mov dword [ebp - 0x5d4], getsockname
mov eax, 0x488
mov byte [ebp - 0x5d2], 0xff
movups xmmword [ebp - 0x168], xmm0
mov word [ebp - 0x5d4], ax
movups xmm0, xmmword [0x4f5168]
mov dword [ebp - 0x190], 0x10009
mov dword [ebp - 0x18c], 0x10000
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x16c], 0x30011
movups xmm0, xmmword [0x4f5178]
mov dword [ebp - 0x194], 0x2001b
movups xmmword [ebp - 0x148], xmm0
movups xmm0, xmmword [0x4f5188]
movups xmmword [ebp - 0x138], xmm0
test bl, bl
je 0x471fbf
mov esi, dword [0x52e078]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x5a4]
mov ecx, esi
push eax
push 0x52e098
call dword [0x4dc8a4]
call esi
mov esi, eax
test esi, esi
je 0x471f91
cmp esi, 0xb7
je 0x471f91
push esi
lea eax, [ebp - 0xd0]
push 0x4f51f0
push eax
call fcn.00471030
add esp, 0xc
lea eax, [ebp - 0xd0]
push 0x10
push 0x4e4e40
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x4710a0
push esi
push esi
call fcn.004be02c
add esp, 0x18
mov dword [0x52e074], eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
push dword [0x52e044]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [0x52e07c]
lea eax, [ebp - 0x61c]
push 1
push eax
lea eax, [ebp - 0x5a4]
mov ecx, esi
push eax
push dword [0x52e09c]
push dword [0x52e098]
call dword [0x4dc8a4]
call esi
push 0xffffffffffffffff
push dword [0x52e074]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x52e074]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x52e044]
mov dword [0x52e074], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret