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

Disassembly:
push 0xffffffffffffffff
push 0x1017c76d
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
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.1001d5f0
mov edi, eax
cmp edi, ebx
jne 0x1001f114
mov dword [esi + 0xe4], ebx
xor al, al
jmp 0x1001f61a
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.10020d70
mov ecx, dword [edi + 0x28]
mov dword [esi + 0xe4], ecx
mov ecx, dword [esi + 0x60]
call fcn.10020e90
push 0x38
call fcn.101582b6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x148], ebx
je 0x1001f169
mov ecx, eax
call fcn.1007e0d0
jmp 0x1001f16b
xor eax, eax
push ebx
mov edi, 0x101995c0
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x150], 0xffffffff
mov dword [esp + 0x5c], edi
call fcn.100371c0
mov dword [esp + 0x54], 0x101995c0
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.100d8f80
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 3
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x10199578
call fcn.10006f60
mov ecx, dword [esp + 0x100]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push ebx
push 0x1019777d
lea ecx, [esp + 0x110]
mov edi, eax
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.10001b80
push ebx
push 0x1019777d
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.10001b80
push ebx
push 0x1019777d
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.10001b80
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.1002aa60
add esp, 0x1c
mov ecx, eax
call fcn.10024090
movzx ecx, ax
push ecx
push ebx
push ebp
push edi
call fcn.100f330e
add esp, 0x14
cmp dword [esp + 0xbc], 0x10
jb 0x1001f2c7
mov edx, dword [esp + 0xa8]
push edx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
jb 0x1001f2f3
mov eax, dword [esp + 0x70]
push eax
call fcn.10157f3b
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 0x1001f327
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.10157f3b
add esp, 4
push ebx
push 0x1019777d
lea ecx, [esp + 0x12c]
mov dword [esp + 0x144], ebp
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.10001b80
push ebx
push 0x1019777d
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.10001b80
push ebx
push 0x1019777d
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.10001b80
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.1002aa60
add esp, 0x1c
mov ecx, eax
call fcn.10024110
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.1000ec50
cmp dword [esp + 0xa0], 0x10
jb 0x1001f424
mov edx, dword [esp + 0x8c]
push edx
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0xd8], 0x10
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x1001f453
mov eax, dword [esp + 0xc4]
push eax
call fcn.10157f3b
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 0x1001f48a
mov ecx, dword [esp + 0x128]
push ecx
call fcn.10157f3b
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.10012650
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.1000ea20
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.1000ec50
cmp byte [0x101c7c00], bl
je 0x1001f5d7
cmp dword [ebp + 0x18], 2
jne 0x1001f571
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.1007d4a0
jmp 0x1001f5d7
push ebp
lea eax, [esp + 0x28]
lea ecx, [esi + 0xf8]
push eax
call fcn.10006e80
mov ebp, dword [esi + 0xfc]
lea eax, [esi + 0xf8]
cmp eax, dword [esp + 0x24]
je 0x1001f599
call fcn.1015828d
cmp ebp, dword [esp + 0x28]
je 0x1001f5ad
lea ecx, [esp + 0x24]
call fcn.10065c60
cmp byte [eax + 0x14], bl
jne 0x1001f5d7
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.1000ee70
lea ecx, [esp + 0xf0]
push ecx
mov ecx, esi
call fcn.1001ec90
test eax, eax
lea ecx, [esp + 0xfc]
sete bl
mov dword [esp + 0x148], 0xffffffff
mov dword [esp + 0xf8], 0x101995c0
mov dword [esp + 0xfc], 0x10199578
call fcn.10006f60
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