Function at 0x471ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
call fcn.0046f180
add esp, 4
test eax, eax
jne 0x471c20
push 0x5601dc
push esi
call fcn.004336c0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret
lea eax, [esp + 0x54]
push eax
mov eax, dword [0x1342df4]
push 0
push dword [ebx + 4]
mov eax, dword [eax + 0x2c]
call eax
cmp eax, 0x80090300
jne 0x471c55
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret
test eax, eax
je 0x471c73
pop edi
pop esi
mov eax, 0x5e
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], 0
push edi
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], 0xa
call fcn.0046f1e0
push edi
mov dword [esp + 0x34], eax
call fcn.0046f180
push eax
call fcn.00522850
add esp, 0xc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
push eax
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [0x1342df4]
push dword [ebx + 4]
mov eax, dword [eax + 0x68]
call eax
test eax, eax
jne 0x471bf8
cmp dword [esp + 0x30], 4
je 0x471d18
push 0x560210
push esi
call fcn.004336c0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret
mov ecx, dword [esp + 0x38]
push ecx
movzx eax, byte [ecx]
movzx ebx, byte [ecx + 1]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 3]
shl ebx, 8
or ebx, eax
mov eax, dword [0x1342df4]
mov eax, dword [eax + 0x40]
call eax
and dword [esp + 0x10], 0x80000001
jne 0x471d76
push 0x560244
push esi
call fcn.004336c0
add esp, 8
mov eax, 0x3d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret
xor eax, eax
test ebx, ebx
push ebp
push dword [esp + 0x64]
cmovne ebx, eax
call dword [section..data]
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x471f3d
mov esi, dword [esp + 0x20]
mov eax, 4
mov dword [esp + 0x10], eax
test esi, esi
je 0x471dc0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471db0
sub ecx, edx
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x471de2
push ebp
call dword [0x1341004]
add esp, 4
lea eax, [edi + 0x1b]
jmp 0x471fc1
mov eax, dword [esp + 0x14]
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], bl
test esi, esi
je 0x471e19
cmp byte [esi], 0
je 0x471e19
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
push eax
lea eax, [edi + 4]
push esi
push eax
call fcn.004f37d0
add esp, 0xc
push dword [esp + 0x60]
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x471e45
push edi
call dword [0x1341004]
push ebp
call dword [0x1341004]
add esp, 8
lea eax, [ebx + 0x1b]
jmp 0x471fc1
push dword [esp + 0x10]
lea eax, [esp + 0x6c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], 3
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], edi
call fcn.00522850
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x84], 9
push 0
push eax
mov eax, dword [esp + 0x20]
push reloc.WS2_32.dll_accept
mov dword [esp + 0x94], ebx
push dword [eax + 4]
mov eax, dword [0x1342df4]
mov eax, dword [eax + 0x64]
call eax
mov esi, eax
test esi, esi
je 0x471f00
push ebx
call dword [0x1341004]
push edi
call dword [0x1341004]
push ebp
call dword [0x1341004]
add esp, 0xc
mov eax, 0x5e
cmp esi, 0x80090300
mov ecx, 0x1b
cmove eax, ecx
jmp 0x471fc1
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x1c], eax
call dword [section..data]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x471f44
push ebx
call dword [0x1341004]
push edi
call dword [0x1341004]
push ebp
call dword [0x1341004]
add esp, 0xc
mov eax, 0x1b
jmp 0x471fc1
push dword [esp + 0x68]
push dword [esp + 0x74]
push eax
call fcn.004f37d0
push dword [esp + 0x80]
mov esi, dword [esp + 0x78]
push dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
add eax, esi
push eax
call fcn.004f37d0
push dword [esp + 0x98]
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x2c]
push dword [esp + 0xa4]
add eax, esi
push eax
call fcn.004f37d0
push ebx
call dword [0x1341004]
push edi
call dword [0x1341004]
push ebp
call dword [0x1341004]
push 0x41c990
push dword [esp + 0x4c]
push dword [esp + 0x48]
push dword [esp + 0x60]
call fcn.0046f1f0
add esp, 0x40
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x80
ret