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

Disassembly:
push 0xffffffffffffffff
push 0x10168bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
cmp eax, 1
jae 0x1004e1ef
mov eax, 0x80003004
jmp 0x1004e28c
mov edi, 0x10
cmp dword [ebp + 0x18], edi
jb 0x1004e1fe
mov eax, dword [ebp + 4]
jmp 0x1004e201
lea eax, [ebp + 4]
cmp byte [eax], 0x30
je 0x1004e20d
mov eax, reloc.WS2_32.dll_closesocket
jmp 0x1004e28c
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x4c]
xor ebx, ebx
push ecx
mov ecx, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.100166e0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov dword [esp + 0xac], ebx
call fcn.1004d600
add esp, 8
cmp dword [esp + 0x5c], edi
mov esi, eax
mov dword [esp + 0xa4], 0xffffffff
jb 0x1004e262
mov edx, dword [esp + 0x48]
push edx
call fcn.100bbe20
add esp, 4
cmp esi, ebx
jne 0x1004e4f7
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
add esi, 1
add ecx, esi
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jb 0x1004e1e5
cmp ecx, esi
ja 0x1004e2b9
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100bc9af
add esp, 0x94
ret
mov edi, 0x10
cmp esi, dword [ebp + 0x14]
jbe 0x1004e2c3
call fcn.100bcb20
cmp dword [ebp + 0x18], edi
jb 0x1004e2cd
mov eax, dword [ebp + 4]
jmp 0x1004e2d0
lea eax, [ebp + 4]
cmp byte [eax + esi], 0x30
jne 0x1004e206
push 0xffffffffffffffff
add esi, 1
push esi
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.100166e0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov dword [esp + 0xac], 1
call fcn.1004d600
add esp, 8
cmp dword [esp + 0x5c], 0x10
mov edi, eax
mov dword [esp + 0xa4], 0xffffffff
jb 0x1004e330
mov eax, dword [esp + 0x48]
push eax
call fcn.100bbe20
add esp, 4
cmp edi, ebx
jne 0x1004e52b
add esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
lea edx, [eax + esi]
cmp ecx, edx
mov dword [esp + 0x20], edx
jb 0x1004e1e5
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov dword [esp + 0xa4], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
push eax
push esi
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov byte [esp + 0xb0], 3
call fcn.100166e0
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0xa8], 4
call fcn.1004ded0
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov esi, eax
mov byte [esp + 0xa4], 3
jb 0x1004e3de
mov eax, dword [esp + 0x48]
push eax
call fcn.100bbe20
add esp, 4
cmp esi, ebx
jne 0x1004e4e5
mov esi, dword [esp + 0x20]
push 7
push 0x10182d3c
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.10003750
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x84]
push eax
mov ecx, edi
mov byte [esp + 0xb0], 5
call edx
cmp dword [esp + 0x40], 8
mov dword [esp + 0x14], eax
mov byte [esp + 0xa4], 3
jb 0x1004e452
mov eax, dword [esp + 0x2c]
push eax
call fcn.100bbe20
add esp, 4
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jne 0x1004e4fe
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call edx
mov edi, eax
cmp edi, ebx
jne 0x1004e519
cmp dword [esp + 0x78], 0x10
jb 0x1004e4a1
mov eax, dword [esp + 0x64]
push eax
call fcn.100bbe20
add esp, 4
cmp dword [esp + 0x94], 8
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0xa4], 0xffffffff
jb 0x1004e4d6
mov ecx, dword [esp + 0x80]
push ecx
call fcn.100bbe20
add esp, 4
cmp dword [esp + 0x1c], esi
ja 0x1004e2b4
jmp 0x1004e28a
lea ecx, [esp + 0x60]
call fcn.100031d0
lea ecx, [esp + 0x7c]
call fcn.10003250
mov eax, esi
jmp 0x1004e28c
lea ecx, [esp + 0x60]
call fcn.100031d0
lea ecx, [esp + 0x7c]
call fcn.10003250
mov eax, dword [esp + 0x14]
jmp 0x1004e28c
lea ecx, [esp + 0x60]
call fcn.100031d0
lea ecx, [esp + 0x7c]
call fcn.10003250
mov eax, edi
jmp 0x1004e28c