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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x18], 0x10
mov esi, eax
jb 0x10001366
mov ebx, dword [edi + 4]
jmp 0x10001369
lea ebx, [edi + 4]
call fcn.100012e0
mov eax, dword [esi + 0xc]
mov ebp, dword [sym.imp.WS2_32.dll_htons]
add eax, 2
cmp eax, dword [esi + 8]
jae 0x10001393
movzx eax, word [edi + 0x1c]
push eax
call ebp
mov ecx, dword [esi + 0xc]
movzx eax, ax
mov word [ecx], ax
add dword [esi + 0xc], 2
mov edx, dword [esi + 0xc]
mov ebx, 4
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x100013b4
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], ebx
mov edx, dword [esi + 0xc]
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x100013d0
mov eax, dword [edi + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], ebx
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x100013e4
mov cl, byte [edi + 0x28]
mov byte [eax], cl
add dword [esi + 0xc], 1
mov ebx, dword [esi + 0xc]
lea edx, [ebx + 8]
cmp edx, dword [esi + 8]
jae 0x1000141b
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.10001230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
add esp, 4
mov dword [ebx + 4], ecx
add dword [esi + 0xc], 8
cmp dword [edi + 0x50], 0x10
jb 0x10001426
mov ebx, dword [edi + 0x3c]
jmp 0x10001429
lea ebx, [edi + 0x3c]
call fcn.100012e0
mov edx, dword [esi + 0xc]
add edx, 4
cmp edx, dword [esi + 8]
jae 0x1000144c
mov eax, dword [edi + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], 4
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x10001460
mov cl, byte [edi + 0x58]
mov byte [eax], cl
add dword [esi + 0xc], 1
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x1000147a
mov cl, byte [edi + 0x59]
mov byte [eax], cl
mov ecx, 1
add dword [esi + 0xc], ecx
jmp 0x1000147f
mov ecx, 1
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x10001492
mov dl, byte [edi + 0x5a]
mov byte [eax], dl
add dword [esi + 0xc], ecx
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x100014a5
mov dl, byte [edi + 0x5b]
mov byte [eax], dl
add dword [esi + 0xc], ecx
mov eax, dword [esi + 0xc]
mov ebx, 2
add eax, ebx
cmp eax, dword [esi + 8]
jae 0x100014c7
movzx eax, word [edi + 0x5c]
push eax
call ebp
mov ecx, dword [esi + 0xc]
movzx eax, ax
mov word [ecx], ax
add dword [esi + 0xc], ebx
mov edx, dword [esi + 0xc]
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x100014e4
movzx eax, word [edi + 0x5e]
push eax
call ebp
mov ecx, dword [esi + 0xc]
movzx eax, ax
mov word [ecx], ax
add dword [esi + 0xc], ebx
mov edx, dword [esi + 0xc]
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x10001501
movzx eax, word [edi + 0x60]
push eax
call ebp
mov ecx, dword [esi + 0xc]
movzx eax, ax
mov word [ecx], ax
add dword [esi + 0xc], ebx
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x10001515
mov cl, byte [edi + 0x62]
mov byte [eax], cl
add dword [esi + 0xc], 1
mov ebx, dword [esi + 0xc]
lea edx, [ebx + 8]
cmp edx, dword [esi + 8]
jae 0x10001552
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.10001230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
mov ebp, 8
add esp, 4
mov dword [ebx + 4], ecx
add dword [esi + 0xc], ebp
jmp 0x10001557
mov ebp, 8
mov ebx, dword [esi + 0xc]
lea edx, [ebx + 8]
cmp edx, dword [esi + 8]
jae 0x1000158d
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.10001230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
add esp, 4
mov dword [ebx + 4], ecx
add dword [esi + 0xc], ebp
mov ebx, dword [esi + 0xc]
lea edx, [ebx + 8]
cmp edx, dword [esi + 8]
jae 0x100015c3
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x7c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.10001230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
add esp, 4
mov dword [ebx + 4], ecx
add dword [esi + 0xc], ebp
mov edx, dword [esi + 0xc]
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
mov ebx, 4
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x100015e9
mov eax, dword [edi + 0x80]
push eax
call ebp
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], ebx
mov edx, dword [esi + 0xc]
add edx, ebx
cmp edx, dword [esi + 8]
jae 0x10001604
mov eax, dword [edi + 0x84]
push eax
call ebp
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], ebx
mov ebx, dword [esi + 0xc]
lea edx, [ebx + 8]
cmp edx, dword [esi + 8]
jae 0x10001641
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x8c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.10001230
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx], eax
add esp, 4
mov dword [ebx + 4], ecx
add dword [esi + 0xc], 8
mov edx, dword [esi + 0xc]
add edx, 4
cmp edx, dword [esi + 8]
jae 0x1000165e
mov eax, dword [edi + 0x90]
push eax
call ebp
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], 4
cmp dword [edi + 0xac], 0x10
jb 0x1000166f
mov ebx, dword [edi + 0x98]
jmp 0x10001675
lea ebx, [edi + 0x98]
call fcn.100012e0
mov eax, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, dword [esi + 8]
jae 0x10001691
mov cl, byte [edi + 0xb0]
mov byte [eax], cl
add dword [esi + 0xc], 1
mov edx, dword [esi + 0xc]
add edx, 4
cmp edx, dword [esi + 8]
jae 0x100016ae
mov edi, dword [edi + 0xb4]
push edi
call ebp
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
add dword [esi + 0xc], 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret