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

Disassembly:
push 0xffffffffffffffff
push 0x1017ec5d
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x150]
xor ebx, ebx
push eax
mov byte [esi + 5], bl
call fcn.1001b3f0
mov edi, eax
cmp edi, ebx
jne 0x1001cfe4
mov dword [esi + 0xe4], ebx
xor al, al
jmp 0x1001d4ea
movzx eax, word [edi + 0x2e]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ebp, ax
mov eax, dword [edi + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0x60]
push ebp
push eax
call fcn.1001ed60
mov ecx, dword [edi + 0x28]
mov dword [esi + 0xe4], ecx
mov ecx, dword [esi + 0x60]
call fcn.1001ee80
push 0x38
call fcn.1015989d
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x148], ebx
je 0x1001d039
mov ecx, eax
call fcn.10079dc0
jmp 0x1001d03b
xor eax, eax
push ebx
mov edi, 0x1019a348
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x5c], edi
call fcn.10035880
mov dword [esp + 0x54], 0x1019a348
mov edx, dword [esi + 0xc0]
push edx
lea eax, [esp + 0x58]
push eax
mov ebp, 0xf
push ebp
lea ecx, [esp + 0xfc]
mov dword [esp + 0x154], 1
call fcn.100d4030
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 3
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x101996a4
call fcn.100a8e90
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push ebx
push 0x101997b5
lea ecx, [esp + 0x110]
mov edi, eax
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0x74]
mov byte [esp + 0x150], 4
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0xac]
mov byte [esp + 0x150], 5
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
call fcn.10005610
push 3
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x74]
push edx
push ebx
lea eax, [esp + 0xb4]
push eax
push ebx
push 0xea60
push 0xa
mov byte [esp + 0x168], 6
call fcn.10028700
add esp, 0x1c
mov ecx, eax
call fcn.100220b0
movzx ecx, ax
push ecx
push ebx
push ebp
push edi
call fcn.100ed50e
add esp, 0x14
cmp dword [esp + 0xbc], 0x10
jb 0x1001d197
mov edx, dword [esp + 0xa8]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
jb 0x1001d1c3
mov eax, dword [esp + 0x70]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x120], 0x10
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x148], 3
jb 0x1001d1f7
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.10159534
add esp, 4
push ebx
push 0x101997b5
lea ecx, [esp + 0x12c]
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0xc8]
mov byte [esp + 0x150], 7
mov dword [esp + 0xe0], ebp
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.10005610
push ebx
push 0x101997b5
lea ecx, [esp + 0x90]
mov byte [esp + 0x150], 8
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.10005610
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0xc4]
push eax
push ebx
lea ecx, [esp + 0x94]
push ecx
push ebx
push 0xea60
push 0xa
mov byte [esp + 0x164], 9
call fcn.10028700
add esp, 0x1c
mov ecx, eax
call fcn.10022130
mov byte [esp + 0x3c], bl
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0x2c], 0x39
call fcn.1000ca40
cmp dword [esp + 0xa0], 0x10
jb 0x1001d2f4
mov edx, dword [esp + 0x8c]
push edx
call fcn.10159534
add esp, 4
cmp dword [esp + 0xd8], 0x10
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x1001d323
mov eax, dword [esp + 0xc4]
push eax
call fcn.10159534
add esp, 4
cmp dword [esp + 0x13c], 0x10
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
mov byte [esp + 0x148], 3
jb 0x1001d35a
mov ecx, dword [esp + 0x128]
push ecx
call fcn.10159534
add esp, 4
mov ebp, dword [esp + 0x150]
mov edx, dword [ebp]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0xdc], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe0], eax
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x44], bl
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0xec], edx
lea edx, [esp + 0xe0]
mov dword [esp + 0xf0], eax
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x38], 0x60
call fcn.10010440
mov byte [esp + 0x4c], bl
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esi + 0xcc]
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
mov dword [esp + 0x5c], 0x13014
call fcn.1000c810
mov byte [esp + 0x38], bl
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [ebp + 0x14]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov dword [esp + 0x54], 0x13021
call fcn.1000ca40
cmp byte [0x101cee20], bl
je 0x1001d4a7
cmp dword [ebp + 0x18], 2
jne 0x1001d441
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], edx
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, edi
mov dword [esp + 0x3c], 0x1302b
call fcn.10079190
jmp 0x1001d4a7
push ebp
lea eax, [esp + 0x28]
lea ecx, [esi + 0xf8]
push eax
call fcn.10005390
mov ebp, dword [esi + 0xfc]
lea eax, [esi + 0xf8]
cmp eax, dword [esp + 0x24]
je 0x1001d469
call fcn.1015988d
cmp ebp, dword [esp + 0x28]
je 0x1001d47d
lea ecx, [esp + 0x24]
call fcn.10061ca0
cmp byte [eax + 0x14], bl
jne 0x1001d4a7
mov byte [esp + 0x34], bl
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x13028
call fcn.1000cc60
lea ecx, [esp + 0xf0]
push ecx
mov ecx, esi
call fcn.1001cb60
test eax, eax
lea ecx, [esp + 0xfc]
sete bl
mov dword [esp + 0x148], 0xffffffff
mov dword [esp + 0xf8], 0x1019a348
mov dword [esp + 0xfc], 0x101996a4
call fcn.100a8e90
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 4