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

Disassembly:
push 0xffffffffffffffff
push 0x887f23
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0xb9e498]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xb9e498]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
push 0x100
mov esi, ecx
mov dword [esp + 0x24], eax
xor ebx, ebx
xor edi, edi
call fcn.00822266
add esp, 4
mov dword [esp + 0x1c], eax
mov ebp, eax
mov dword [esp + 0x18], 0x40
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push ebx
push 0xffffffffffffffff
push edi
push 0x3b
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push ebx
push 0xffffffffffffffff
push 0xb
push 0x3a
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push ebx
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push 0x3a
mov ecx, esi
call edx
test dword [esp + 0x24], 0x100
jne 0x813656
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ebx
push 0xffffffffffffffff
push ebp
push 0x3d
mov ecx, esi
call edx
add ebp, 4
add edi, 4
sub dword [esp + 0x18], 1
jne 0x813637
mov al, 0xff
mov byte [esp + 0x98], al
mov byte [esp + 0x99], al
mov byte [esp + 0x9a], al
mov byte [esp + 0x9b], al
mov al, 0xf0
mov edi, 0xf
mov byte [esp + 0x17], bl
mov byte [esp + 0x9c], 0xaa
mov byte [esp + 0x9d], 0x99
mov byte [esp + 0x9e], 0x55
mov byte [esp + 0x9f], 0x66
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], 9
mov byte [esp + 0xa2], 0xf
mov byte [esp + 0xa3], al
mov byte [esp + 0xa4], 0xf
mov byte [esp + 0xa5], al
mov byte [esp + 0xa6], 0xf
mov byte [esp + 0xa7], al
mov byte [esp + 0xa8], 0xf
mov byte [esp + 0xa9], al
mov byte [esp + 0xaa], bl
mov byte [esp + 0xab], bl
mov byte [esp + 0xac], 1
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov esi, dword [esp + 0x1c]
push 0xd
lea eax, [esp + 0xa4]
push eax
push esi
mov byte [esp + 0xc8], 3
call fcn.00841dd1
add esp, 0xc
lea ebp, [edi + 1]
test eax, eax
jne 0x813983
mov cl, byte [esi + 0xd]
add esi, 0xd
inc esi
cmp cl, 0x61
jne 0x813983
movzx edx, word [esi]
push edx
call sub.WS2_32.dll_htons
add esi, 2
movzx edi, ax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x8137c7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.0041cda0
movzx eax, di
mov cl, byte [esi + eax]
add esi, eax
inc esi
cmp cl, 0x62
jne 0x81397e
movzx edx, word [esi]
push edx
call sub.WS2_32.dll_htons
add esi, 2
movzx edi, ax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x813804
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.0041cda0
movzx eax, di
mov cl, byte [esi + eax]
add esi, eax
inc esi
cmp cl, 0x63
jne 0x81397e
movzx edx, word [esi]
push edx
call sub.WS2_32.dll_htons
add esi, 2
movzx edi, ax
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x813840
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.0041cda0
movzx eax, di
mov cl, byte [esi + eax]
add esi, eax
inc esi
cmp cl, 0x64
jne 0x81397e
movzx edx, word [esi]
push edx
call sub.WS2_32.dll_htons
add esi, 2
movzx edi, ax
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x813880
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.0041cda0
movzx eax, di
mov cl, byte [esi + eax]
add esi, eax
inc esi
cmp cl, 0x65
jne 0x81397e
mov edx, dword [esi]
push edx
call sub.WS2_32.dll_htonl
mov edx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x40]
mov ecx, edx
cmp eax, ebp
jae 0x8138c2
lea ecx, [esp + 0x2c]
cmp byte [ecx], 0x35
je 0x8138db
cmp eax, ebp
mov eax, edx
jae 0x8138d1
lea eax, [esp + 0x2c]
cmp byte [eax], 0x36
je 0x8138db
add esi, 4
jmp 0x8138de
add esi, 0x30
push 8
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.00841dd1
add esp, 0xc
test eax, eax
jne 0x81397e
mov eax, dword [esp + 0x64]
mov byte [esp + 0x17], 1
cmp dword [esp + 0x78], ebp
jae 0x81390c
lea eax, [esp + 0x64]
mov esi, dword [esp + 0x20]
push ebp
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00844e00
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp dword [esp + 0x5c], ebp
jae 0x81392c
lea eax, [esp + 0x48]
push ebp
push eax
lea edx, [esi + 0x20]
push edx
call fcn.00844e00
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], ebp
jae 0x813951
lea eax, [esp + 0x80]
push ebp
push eax
lea eax, [esi + 0x30]
push eax
call fcn.00844e00
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp dword [esp + 0x40], ebp
jae 0x81396d
lea eax, [esp + 0x2c]
push ebp
push eax
lea ecx, [esi + 0x44]
push ecx
call fcn.00844e00
add esp, 0xc
mov dword [esi + 0xc], edi
mov edi, 0xf
mov edx, dword [esp + 0x1c]
push edx
call fcn.0082225b
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x8139a3
mov eax, dword [esp + 0x48]
push eax
call fcn.0082225b
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], ebp
jb 0x8139c2
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0082225b
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x40], ebp
jb 0x8139e1
mov edx, dword [esp + 0x2c]
push edx
call fcn.0082225b
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp dword [esp + 0x94], ebp
jb 0x813a06
mov eax, dword [esp + 0x80]
push eax
call fcn.0082225b
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00841e91
add esp, 0xac
ret 4