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

Disassembly:
push 0xffffffffffffffff
push 0x1017da13
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x17], 0
call fcn.100ec612
lea eax, [esp + 0xc4]
mov dword [esp + 0x100], 0
mov dword [esp + 0x54], 0x10199600
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x108]
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
mov byte [esp + 0x100], 1
jbe 0x1000e53c
call fcn.1015988d
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1000e54d
call fcn.1015988d
mov eax, dword [esp + 0x11c]
mov ebx, dword [eax + 8]
cmp dword [eax + 4], ebx
jbe 0x1000e561
call fcn.1015988d
mov ecx, dword [esp + 0x11c]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x1000e57c
call fcn.1015988d
mov ecx, dword [esp + 0x11c]
cmp edi, ebx
je 0x1000e5aa
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x1000e5a3
push eax
push ebx
push eax
push edi
call fcn.101595b4
mov ecx, dword [esp + 0x12c]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x120]
mov ebx, dword [ecx + 8]
cmp dword [ecx + 4], ebx
jbe 0x1000e5c5
call fcn.1015988d
mov ecx, dword [esp + 0x120]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x1000e5d9
call fcn.1015988d
mov ecx, dword [esp + 0x120]
cmp edi, ebx
je 0x1000e607
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x1000e600
push eax
push ebx
push eax
push edi
call fcn.101595b4
mov ecx, dword [esp + 0x130]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x124]
mov ebx, dword [ecx + 8]
cmp dword [ecx + 4], ebx
jbe 0x1000e622
call fcn.1015988d
mov ecx, dword [esp + 0x124]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x1000e636
call fcn.1015988d
mov ecx, dword [esp + 0x124]
cmp edi, ebx
je 0x1000e664
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x1000e65d
push eax
push ebx
push eax
push edi
call fcn.101595b4
mov ecx, dword [esp + 0x134]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
cmp esi, dword [esp + 0x20]
je 0x1000ec5f
mov ecx, dword [esp + 0x110]
mov edx, dword [ecx]
cmp edx, dword [esp + 0x114]
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
jge 0x1000ec5f
cmp byte [esp + 0x10c], 0
je 0x1000e95c
cmp esi, dword [ebp + 8]
jb 0x1000e6a6
call fcn.1015988d
cmp dword [esi], 2
jne 0x1000ec4d
cmp esi, dword [ebp + 8]
jb 0x1000e6b9
call fcn.1015988d
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x40]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], eax
call fcn.10007bf0
cmp esi, dword [ebp + 8]
jb 0x1000e6f4
call fcn.1015988d
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x78], eax
push edx
lea eax, [esp + 0xf0]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x12c]
push eax
call fcn.10008dd0
cmp esi, dword [ebp + 8]
jb 0x1000e73d
call fcn.1015988d
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x120]
call fcn.1000bcd0
mov eax, dword [esp + 0x110]
add dword [eax], 1
cmp esi, dword [ebp + 8]
jb 0x1000e761
call fcn.1015988d
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x8c], edx
push ecx
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x60]
add edi, 0x22c
push edx
mov ecx, edi
mov dword [esp + 0x98], eax
call fcn.10005320
mov ebx, dword [esp + 0x5c]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0xc0], eax
je 0x1000e7c7
cmp ebx, edi
je 0x1000e7cc
call fcn.1015988d
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0xc0]
je 0x1000e804
test ebx, ebx
jne 0x1000e7e2
call fcn.1015988d
cmp edi, dword [ebx + 4]
jne 0x1000e7ec
call fcn.1015988d
cmp edi, dword [ebx + 4]
mov cl, byte [edi + 0x20]
mov byte [esp + 0x16], cl
jne 0x1000e7fd
call fcn.1015988d
mov dl, byte [edi + 0x24]
mov byte [esp + 0x15], dl
mov edi, dword [esp + 0x120]
lea eax, [esp + 0x16]
push eax
mov ecx, edi
call fcn.1000bcd0
lea ecx, [esp + 0x15]
push ecx
mov ecx, edi
call fcn.1000bcd0
cmp esi, dword [ebp + 8]
jb 0x1000e82d
call fcn.1015988d
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
push eax
call edi
mov ebx, dword [esp + 0x124]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
mov dword [esp + 0x30], eax
jbe 0x1000e867
call fcn.1015988d
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push ebx
mov ecx, ebx
call fcn.10007d50
cmp dword [esp + 0x130], 2
jne 0x1000ec4d
cmp esi, dword [ebp + 8]
jb 0x1000e897
call fcn.1015988d
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov ebp, eax
mov ebx, ecx
shrd ebx, ebp, 0x10
mov edi, eax
and edi, 0xff0000
xor edx, edx
or edx, ebx
xor ebx, ebx
shr ebp, 0x10
or edi, ebp
shrd edx, edi, 0x10
or edx, ebx
mov ebp, eax
shr edi, 0x10
and ebp, 0xff00
or edi, ebp
shrd edx, edi, 0x10
or edx, ebx
movzx ebp, al
mov dword [esp + 0x1c], eax
mov ebx, ecx
shld eax, ebx, 0x10
shl ebx, 0x10
mov dword [esp + 0x18], ecx
shr edi, 0x10
or edi, ebp
and ecx, 0xff00
or ebx, ecx
mov ecx, dword [esp + 0x18]
xor ebp, ebp
or eax, ebp
shld eax, ebx, 0x10
shl ebx, 0x10
and ecx, 0xff0000
or ebx, ecx
or eax, ebp
shld eax, ebx, 0x10
mov ecx, eax
mov eax, dword [esp + 0x18]
shl ebx, 0x10
shrd edx, edi, 8
and eax, 0xff000000
or ebx, eax
or ecx, ebp
shld ecx, ebx, 8
shr edi, 8
or edi, ecx
shl ebx, 8
or edx, ebx
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x12c]
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
mov dword [esp + 0x18], edx
jbe 0x1000e94f
call fcn.1015988d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
jmp 0x1000ec36
cmp esi, dword [ebp + 8]
jb 0x1000e966
call fcn.1015988d
cmp dword [esi], 0
jne 0x1000ec4d
cmp esi, dword [ebp + 8]
mov byte [esp + 0x17], 1
jb 0x1000e97e
call fcn.1015988d
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.10007bf0
cmp esi, dword [ebp + 8]
jb 0x1000e9b9
call fcn.1015988d
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0xb4], edx
push ecx
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x14]
lea edx, [esp + 0xe4]
push edx
mov dword [esp + 0xc0], eax
call fcn.10008dd0
cmp esi, dword [ebp + 8]
jb 0x1000ea11
call fcn.1015988d
mov dword [esi], 2
cmp esi, dword [ebp + 8]
jb 0x1000ea21
call fcn.1015988d
mov ecx, dword [esp + 0x11c]
lea eax, [esi + 0x20]
push eax
call fcn.1000bcd0
mov eax, dword [esp + 0x110]
add dword [eax], 1
cmp esi, dword [ebp + 8]
jb 0x1000ea45
call fcn.1015988d
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x9c], edx
mov edx, dword [esi + 0x14]
add edi, 0x22c
push ecx
mov ecx, edi
mov dword [esp + 0xac], edx
call fcn.10005320
mov ebx, dword [esp + 0x64]
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x1000eaa4
cmp ebx, edi
je 0x1000eaa9
call fcn.1015988d
mov edi, dword [esp + 0x68]
cmp edi, ebp
je 0x1000eadc
test ebx, ebx
jne 0x1000eaba
call fcn.1015988d
cmp edi, dword [ebx + 4]
jne 0x1000eac4
call fcn.1015988d
cmp edi, dword [ebx + 4]
mov dl, byte [edi + 0x20]
mov byte [esp + 0x16], dl
jne 0x1000ead5
call fcn.1015988d
mov al, byte [edi + 0x24]
mov byte [esp + 0x15], al
mov edi, dword [esp + 0x120]
lea ecx, [esp + 0x16]
push ecx
mov ecx, edi
call fcn.1000bcd0
lea edx, [esp + 0x15]
push edx
mov ecx, edi
call fcn.1000bcd0
mov ebp, dword [esp + 0x108]
cmp esi, dword [ebp + 8]
jb 0x1000eb0c
call fcn.1015988d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call edi
mov edx, dword [esp + 0x38]
push edx
mov dword [esp + 0x38], eax
call edi
mov ebx, dword [esp + 0x124]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
mov dword [esp + 0x38], eax
jbe 0x1000eb46
call fcn.1015988d
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
push edi
push ebx
mov ecx, ebx
call fcn.10007d50
cmp dword [esp + 0x130], 2
jne 0x1000ec4d
cmp esi, dword [ebp + 8]
jb 0x1000eb76
call fcn.1015988d
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov ebp, eax
mov ebx, ecx
shrd ebx, ebp, 0x10
mov edi, eax
and edi, 0xff0000
xor edx, edx
or edx, ebx
xor ebx, ebx
shr ebp, 0x10
or edi, ebp
shrd edx, edi, 0x10
or edx, ebx
mov ebp, eax
shr edi, 0x10
and ebp, 0xff00
or edi, ebp
shrd edx, edi, 0x10
or edx, ebx
movzx ebp, al
mov dword [esp + 0x28], eax
mov ebx, ecx
shld eax, ebx, 0x10
shl ebx, 0x10
mov dword [esp + 0x24], ecx
shr edi, 0x10
or edi, ebp
and ecx, 0xff00
or ebx, ecx
mov ecx, dword [esp + 0x24]
xor ebp, ebp
or eax, ebp
shld eax, ebx, 0x10
shl ebx, 0x10
and ecx, 0xff0000
or ebx, ecx
or eax, ebp
shld eax, ebx, 0x10
mov ecx, eax
mov eax, dword [esp + 0x24]
shl ebx, 0x10
shrd edx, edi, 8
and eax, 0xff000000
or ebx, eax
or ecx, ebp
shld ecx, ebx, 8
shr edi, 8
or edi, ecx
shl ebx, 8
or edx, ebx
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x12c]
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
mov dword [esp + 0x24], edx
jbe 0x1000ec2e
call fcn.1015988d
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
push ebx
push edi
mov ecx, edi
call fcn.10007d50
mov ebp, dword [esp + 0x108]
cmp esi, dword [ebp + 8]
jb 0x1000ec57
call fcn.1015988d
add esi, 0x30
jmp 0x1000e664
mov edx, dword [esp + 0x118]
push edx
lea ecx, [esp + 0xc8]
call fcn.100ec732
lea ecx, [esp + 0xc4]
mov dword [esp + 0x100], 0xffffffff
call fcn.100ec3a0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x2c