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

Disassembly:
push 0xffffffffffffffff
push 0x1017b4d3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
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.100f2403
lea eax, [esp + 0xc4]
mov dword [esp + 0x100], 0
mov dword [esp + 0x54], 0x101975e0
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 0x1001074c
call fcn.1015828d
mov eax, dword [ebp + 8]
cmp dword [ebp + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001075d
call fcn.1015828d
mov eax, dword [esp + 0x11c]
mov ebx, dword [eax + 8]
cmp dword [eax + 4], ebx
jbe 0x10010771
call fcn.1015828d
mov ecx, dword [esp + 0x11c]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x1001078c
call fcn.1015828d
mov ecx, dword [esp + 0x11c]
cmp edi, ebx
je 0x100107ba
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x100107b3
push eax
push ebx
push eax
push edi
call fcn.10157fbb
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 0x100107d5
call fcn.1015828d
mov ecx, dword [esp + 0x120]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x100107e9
call fcn.1015828d
mov ecx, dword [esp + 0x120]
cmp edi, ebx
je 0x10010817
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x10010810
push eax
push ebx
push eax
push edi
call fcn.10157fbb
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 0x10010832
call fcn.1015828d
mov ecx, dword [esp + 0x124]
mov edi, dword [ecx + 4]
cmp edi, dword [ecx + 8]
jbe 0x10010846
call fcn.1015828d
mov ecx, dword [esp + 0x124]
cmp edi, ebx
je 0x10010874
mov eax, dword [ecx + 8]
sub eax, ebx
test eax, eax
lea edx, [eax + edi]
mov dword [esp + 0x18], edx
jle 0x1001086d
push eax
push ebx
push eax
push edi
call fcn.10157fbb
mov ecx, dword [esp + 0x134]
add esp, 0x10
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
cmp esi, dword [esp + 0x20]
je 0x10010e6f
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 0x10010e6f
cmp byte [esp + 0x10c], 0
je 0x10010b6c
cmp esi, dword [ebp + 8]
jb 0x100108b6
call fcn.1015828d
cmp dword [esi], 2
jne 0x10010e5d
cmp esi, dword [ebp + 8]
jb 0x100108c9
call fcn.1015828d
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.10009d40
cmp esi, dword [ebp + 8]
jb 0x10010904
call fcn.1015828d
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.1000acb0
cmp esi, dword [ebp + 8]
jb 0x1001094d
call fcn.1015828d
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esp + 0x120]
call fcn.1000de50
mov eax, dword [esp + 0x110]
add dword [eax], 1
cmp esi, dword [ebp + 8]
jb 0x10010971
call fcn.1015828d
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.10006e10
mov ebx, dword [esp + 0x5c]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0xc0], eax
je 0x100109d7
cmp ebx, edi
je 0x100109dc
call fcn.1015828d
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0xc0]
je 0x10010a14
test ebx, ebx
jne 0x100109f2
call fcn.1015828d
cmp edi, dword [ebx + 4]
jne 0x100109fc
call fcn.1015828d
cmp edi, dword [ebx + 4]
mov cl, byte [edi + 0x20]
mov byte [esp + 0x16], cl
jne 0x10010a0d
call fcn.1015828d
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.1000de50
lea ecx, [esp + 0x15]
push ecx
mov ecx, edi
call fcn.1000de50
cmp esi, dword [ebp + 8]
jb 0x10010a3d
call fcn.1015828d
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 0x10010a77
call fcn.1015828d
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.10009df0
cmp dword [esp + 0x130], 2
jne 0x10010e5d
cmp esi, dword [ebp + 8]
jb 0x10010aa7
call fcn.1015828d
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 0x10010b5f
call fcn.1015828d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
jmp 0x10010e46
cmp esi, dword [ebp + 8]
jb 0x10010b76
call fcn.1015828d
cmp dword [esi], 0
jne 0x10010e5d
cmp esi, dword [ebp + 8]
mov byte [esp + 0x17], 1
jb 0x10010b8e
call fcn.1015828d
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.10009d40
cmp esi, dword [ebp + 8]
jb 0x10010bc9
call fcn.1015828d
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.1000acb0
cmp esi, dword [ebp + 8]
jb 0x10010c21
call fcn.1015828d
mov dword [esi], 2
cmp esi, dword [ebp + 8]
jb 0x10010c31
call fcn.1015828d
mov ecx, dword [esp + 0x11c]
lea eax, [esi + 0x20]
push eax
call fcn.1000de50
mov eax, dword [esp + 0x110]
add dword [eax], 1
cmp esi, dword [ebp + 8]
jb 0x10010c55
call fcn.1015828d
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.10006e10
mov ebx, dword [esp + 0x64]
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x10010cb4
cmp ebx, edi
je 0x10010cb9
call fcn.1015828d
mov edi, dword [esp + 0x68]
cmp edi, ebp
je 0x10010cec
test ebx, ebx
jne 0x10010cca
call fcn.1015828d
cmp edi, dword [ebx + 4]
jne 0x10010cd4
call fcn.1015828d
cmp edi, dword [ebx + 4]
mov dl, byte [edi + 0x20]
mov byte [esp + 0x16], dl
jne 0x10010ce5
call fcn.1015828d
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.1000de50
lea edx, [esp + 0x15]
push edx
mov ecx, edi
call fcn.1000de50
mov ebp, dword [esp + 0x108]
cmp esi, dword [ebp + 8]
jb 0x10010d1c
call fcn.1015828d
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 0x10010d56
call fcn.1015828d
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.10009df0
cmp dword [esp + 0x130], 2
jne 0x10010e5d
cmp esi, dword [ebp + 8]
jb 0x10010d86
call fcn.1015828d
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 0x10010e3e
call fcn.1015828d
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.10009df0
mov ebp, dword [esp + 0x108]
cmp esi, dword [ebp + 8]
jb 0x10010e67
call fcn.1015828d
add esi, 0x30
jmp 0x10010874
mov edx, dword [esp + 0x118]
push edx
lea ecx, [esp + 0xc8]
call fcn.100f2523
lea ecx, [esp + 0xc4]
mov dword [esp + 0x100], 0xffffffff
call fcn.100f2191
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