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

Disassembly:
sub esp, 0x140
mov eax, dword [0x3415a34]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x148]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x154]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x160]
mov ebp, eax
mov dword [esp + 0x1c], edi
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x20]
mov dword [esp + 0x10], eax
lea ecx, [ebp + 1]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
nop dword [eax]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x32843c0
sub ebp, ecx
lea ebx, [ebp + 0x66]
mov dword [esp + 0x18], ebx
cmp edx, esi
jge 0x32843e7
push edi
call fcn.032842f0
movzx eax, ax
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x32843ef
mov dword [esp + 0x14], 0xffff
lea eax, [ebx + 0x7c]
push eax
call fcn.0339076d
add esp, 4
mov esi, eax
cmp dword [edi + 0xf0], 0
je 0x328440b
call fcn.0329a5a0
test esi, esi
je 0x3284618
cmp ebp, 0x100
jae 0x328460f
push 0x7c
push 0
push esi
call fcn.0338e220
push esi
push fcn.032853f0
push 0
push 0xffffffffffffffff
mov dword [esi + 0x74], edi
lea eax, [esi + 0x28]
push dword [edi + 0x10]
push eax
call fcn.0327d390
add esp, 0x24
cmp dword [edi + 0x38], 0
je 0x32844bf
push 0x100
push dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
call fcn.0329a980
lea eax, [ebp + 7]
shr eax, 3
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.032999c0
add esp, 0x14
xor edi, edi
test ebp, ebp
je 0x32844b7
mov bl, 1
nop word [eax + eax]
movzx eax, byte [esp + edi + 0x4c]
push eax
call fcn.03279d20
add esp, 4
test eax, eax
je 0x32844ad
mov cl, byte [esp + edi + 0x4c]
mov eax, edi
shr eax, 3
test byte [esp + eax + 0x2c], bl
je 0x32844a6
or cl, 0x20
jmp 0x32844a9
and cl, 0xdf
mov byte [esp + edi + 0x4c], cl
inc edi
rol bl, 1
cmp edi, ebp
jb 0x3284480
lea ebx, [ebp + 0x66]
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
or dword [esi + 0x6c], 1
lea edi, [esi + 0x7c]
mov dword [esi], edi
cmp ebx, 2
jl 0x328460f
push dword [esp + 0x14]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
call ebx
mov word [edi], ax
lea eax, [ebp + 0x66]
cmp eax, 4
jl 0x328460f
push 0x100
call ebx
mov word [edi + 2], ax
lea eax, [ebp + 0x66]
cmp eax, 6
jl 0x328460f
push 1
call ebx
mov word [edi + 4], ax
lea eax, [ebp + 0x66]
cmp eax, 8
jl 0x328460f
push 0
call ebx
mov word [edi + 6], ax
lea eax, [ebp + 0x66]
cmp eax, 0xa
jl 0x328460f
push 0
call ebx
mov word [edi + 8], ax
lea eax, [ebp + 0x66]
cmp eax, 0xc
jl 0x328460f
push 0
call ebx
push 0
push ebp
push dword [esp + 0x18]
mov word [edi + 0xa], ax
lea eax, [ebp + 0x66]
push 0xc
push eax
push edi
call fcn.032877d0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
js 0x328460f
lea ebp, [eax + 2]
cmp ebp, dword [esp + 0x18]
jg 0x328460f
push dword [esp + 0x15c]
call ebx
mov ecx, dword [esp + 0x10]
mov word [ecx + edi], ax
lea eax, [ebp + 2]
cmp eax, dword [esp + 0x18]
jg 0x328460f
push 1
call ebx
mov word [edi + ebp], ax
lea eax, [ebp + 2]
test eax, eax
js 0x328460f
mov edi, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov word [esi + 0x68], ax
mov eax, dword [esp + 0x15c]
mov byte [esi + 4], al
mov eax, dword [esp + 0x16c]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x168]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], 0
cmp dword [esp + 0x24], eax
jge 0x32845e8
push edi
call fcn.03283a90
add esp, 4
jmp 0x32845ea
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x78], eax
test eax, eax
je 0x328460b
mov dword [eax], esi
mov dword [eax + 4], edi
mov eax, esi
jmp 0x328461a
push esi
call fcn.03390752
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0338ca36
add esp, 0x140
ret