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

Disassembly:
push 0xffffffffffffffff
push 0x10174436
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xd8]
xor ebx, ebx
cmp word [esi], bx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
lea ebp, [ebx + 0xf]
je 0x100a5cc7
mov dword [esp + 0x14], ebx
push ebx
push 0x10184472
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x28]
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x60]
mov byte [esp + 0xd8], 1
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.10001fe0
movzx eax, word [esi]
mov ecx, dword [edi + 0x29bc]
push eax
push ebx
push ebx
push ecx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
lea ecx, [esp + 0x74]
push ecx
push ebx
push 0xea60
push 0xa
mov byte [esp + 0xfc], 2
call fcn.10033a60
add esp, 0x1c
mov ecx, eax
call fcn.10032040
cmp dword [esp + 0x70], 0x10
mov dword [edi + 0x5c], eax
jb 0x100a5c32
mov edx, dword [esp + 0x5c]
push edx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x100a5c52
mov eax, dword [esp + 0x24]
push eax
call fcn.10149646
add esp, 4
cmp dword [esp + 0xc4], 0x10
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0xd0], 0xffffffff
jb 0x100a5c83
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.10149646
add esp, 4
cmp dword [edi + 0x5c], ebx
jne 0x100a5cb6
movzx edx, word [esi]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
add ax, 1
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x14], eax
jl 0x100a5b70
jmp 0x100a5cc7
movzx eax, word [esi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0xdc]
cmp word [esi], bx
je 0x100a5eb1
mov dword [esp + 0x14], ebx
jmp 0x100a5ce0
push ebx
push 0x10184472
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 3
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.10001fe0
push ebx
push 0x10184472
lea ecx, [esp + 0x98]
mov byte [esp + 0xd8], 4
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.10001fe0
movzx edx, word [esi]
mov eax, dword [edi + 0x29bc]
push edx
push ebx
push 2
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x50]
push edx
push ebx
lea eax, [esp + 0xac]
push eax
push ebx
push 0xea60
push 0xa
mov byte [esp + 0xfc], 5
call fcn.10033a60
add esp, 0x1c
mov ecx, eax
call fcn.10032040
cmp dword [esp + 0xa8], 0x10
mov dword [edi + 0x60], eax
jb 0x100a5db9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
jb 0x100a5de2
mov edx, dword [esp + 0x40]
push edx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0xd0], 0xffffffff
jb 0x100a5e10
mov eax, dword [esp + 0x78]
push eax
call fcn.10149646
add esp, 4
cmp dword [edi + 0x60], ebx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
jne 0x100a5ea0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x100a5e43
push 0x1bb
call dword [sym.imp.WS2_32.dll_ntohs]
cmp word [esi], ax
jne 0x100a5e72
push 0x50
jmp 0x100a5e81
cmp eax, 1
jne 0x100a5e59
push 0x50
call dword [sym.imp.WS2_32.dll_ntohs]
cmp word [esi], ax
jne 0x100a5e72
push 0x35
jmp 0x100a5e81
cmp eax, 2
jne 0x100a5e72
push 0x35
call dword [sym.imp.WS2_32.dll_ntohs]
cmp word [esi], ax
jne 0x100a5e72
push 0x2134
jmp 0x100a5e81
movzx ecx, word [esi]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
add ax, 1
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x14], eax
jl 0x100a5ce0
jmp 0x100a5eb1
movzx edx, word [esi]
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [esp + 0x18], eax
mov edi, dword [edi + 0xbde]
cmp edi, ebx
je 0x100a5ed1
movzx eax, word [esp + 0x18]
movzx ecx, word [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx]
push eax
push ecx
push 0x5c
mov ecx, edi
call edx
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8