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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59acf6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1cac
call fcn.005965e0
mov eax, dword [0x601018]
xor eax, esp
mov dword [esp + 0x1ca8], eax
push ebx
push esi
push edi
mov eax, dword [0x601018]
xor eax, esp
push eax
lea eax, [esp + 0x1cc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea esi, [ecx + 0x185c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], esi
test esi, esi
jne 0x42404b
call dword [sym.imp.MSVCR100.dll_abort]
lea eax, [esp + 0x8b4]
mov ecx, eax
sub esi, ecx
mov cl, byte [esi + eax]
test cl, cl
je 0x42406b
mov byte [eax], cl
inc eax
lea edx, [esp + 0xcb3]
cmp eax, edx
jb 0x424056
mov ebx, dword [ebp + 0xc]
mov byte [eax], 0
push 0x400
lea eax, [esp + 0x8b8]
call fcn.00401570
mov ebx, 0xf
add esp, 4
xor edi, edi
mov eax, 0x5bc564
lea esi, [esp + 0x40]
mov dword [esp + 0x3c], vtable.FileFind.0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00402fe0
xor eax, eax
mov dword [esp + 0x1cc8], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x5c], al
mov eax, 0x5bc564
lea esi, [esp + 0x5c]
mov dword [esp + 0x70], ebx
call fcn.00402fe0
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0xffffffff
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x84]
push eax
push ecx
lea edx, [esp + 0x8bc]
lea ecx, [esp + 0x44]
mov dword [esp + 0x1cd0], 1
call fcn.0050a5e0
mov dword [esp + 0x30], eax
test eax, eax
je 0x424420
jmp 0x424120
cmp byte [esp + 0x84], 0x2e
je 0x4243bc
mov edi, str..tmp
lea ebx, [esp + 0x84]
call fcn.004015d0
test eax, eax
jne 0x4243bc
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x424154
call dword [sym.imp.MSVCR100.dll_abort]
lea eax, [esp + 0x4b4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x424176
mov byte [eax], cl
inc eax
lea ecx, [esp + 0x8b3]
cmp eax, ecx
jb 0x424161
mov byte [eax], 0
push 0x400
lea ebx, [esp + 0x88]
lea eax, [esp + 0x4b8]
call fcn.00401570
add esp, 4
cmp byte [esp + 0x48c], 0
je 0x424296
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
test eax, eax
je 0x4241b7
mov edx, dword [eax + 8]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov eax, edi
call fcn.004faf40
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4b4]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4241d0
sub eax, ecx
push eax
push 0x400
lea ebx, [edi + 0x5010]
lea eax, [esp + 0x4bc]
lea esi, [esp + 0xcbc]
call fcn.00516d70
push eax
mov eax, esi
mov esi, dword [esp + 0x14]
push eax
push 0
push esi
push edi
call fcn.004fac50
push 1
push esi
push edi
mov edi, 1
call fcn.004fca80
push 0
push 0
push 2
mov edi, esi
mov esi, dword [esp + 0x20]
push edi
push esi
call fcn.004fcbb0
push 0
push 0
push 3
push edi
push esi
call fcn.004fcbb0
cmp dword [ebp + 0x14], 0
je 0x4243bc
cmp byte [esp + 0x4b4], 0
je 0x424276
mov edi, 0x5cc7f4
lea ebx, [esp + 0x4b4]
call fcn.004015d0
test eax, eax
jne 0x424276
push 0x400
mov ebx, edi
lea eax, [esp + 0x4b8]
call fcn.00401570
add esp, 4
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x4bc]
push eax
push esi
call fcn.00423fe0
jmp 0x4243bc
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x4242a4
call dword [sym.imp.MSVCR100.dll_abort]
lea eax, [esp + 0xcb4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4242c6
mov byte [eax], cl
inc eax
lea ecx, [esp + 0x10b3]
cmp eax, ecx
jb 0x4242b1
mov byte [eax], 0
push 0x400
lea ebx, [esp + 0x4b8]
lea eax, [esp + 0xcb8]
call fcn.00401570
xor eax, eax
add esp, 4
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x20]
lea ebx, [esp + 0xcb8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00425aa0
test eax, eax
je 0x4243bc
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
test eax, eax
je 0x424328
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov eax, edi
call fcn.004faf40
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4b4]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x424340
sub eax, ecx
push eax
push 0x400
lea ebx, [edi + 0x5010]
lea eax, [esp + 0x4bc]
lea esi, [esp + 0x14bc]
call fcn.00516d70
push eax
mov ecx, esi
mov esi, dword [esp + 0x14]
push ecx
push 0
push esi
push edi
call fcn.004fac50
push 0xffffffffffffffff
lea edx, [esp + 0x4b6]
push edx
push 1
push esi
push edi
mov word [esp + 0x4c6], 0x30
call fcn.004fea10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push 2
push esi
push edi
call fcn.004fcbb0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 3
push esi
push edi
call fcn.004fcbb0
mov esi, dword [esp + 0x30]
push esi
lea edx, [esp + 0x88]
lea ecx, [esp + 0x40]
call fcn.0050a8d0
test al, al
jne 0x424120
cmp esi, 0xffffffff
je 0x4243e5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x40]
xor edx, edx
mov ecx, 0x10
mov dword [esp + 0x50], edx
cmp dword [esp + 0x54], ecx
jae 0x4243fe
lea eax, [esp + 0x40]
mov byte [eax], dl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x70], ecx
jae 0x424412
lea eax, [esp + 0x5c]
mov byte [eax], dl
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0050a540
mov ecx, dword [esp + 0x1cc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ca8]
xor ecx, esp
call fcn.00596083
mov esp, ebp
pop ebp
ret 0x10