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

Disassembly:
sub esp, 0x74
mov eax, dword [0x3415a34]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x20], ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
cmp eax, 2
jne 0x3278f8d
push dword [ebp]
call dword [sym.imp.WS2_32.dll_ntohl]
mov esi, dword [esp + 0x94]
mov ecx, eax
movzx eax, cl
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
push eax
push ecx
push 0x33bdf30
push esi
push ebx
call fcn.03278e00
add esp, 0x1c
test eax, eax
js 0x3279240
cmp eax, esi
jae 0x3279240
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0338ca36
add esp, 0x74
ret
cmp eax, 0x17
jne 0x3279240
movzx ecx, byte [ebp]
mov edi, 0x100
movzx edx, byte [ebp + 1]
xor esi, esi
imul ecx, edi
or ebx, 0xffffffff
movzx eax, byte [ebp + 3]
add dx, cx
movzx ecx, byte [ebp + 2]
imul ecx, edi
mov word [esp + 0x30], dx
add cx, ax
movzx eax, cx
mov word [esp + 0x32], cx
movzx ecx, byte [ebp + 4]
imul ecx, edi
mov dword [esp + 0x14], eax
movzx eax, byte [ebp + 5]
add cx, ax
movzx eax, cx
mov word [esp + 0x34], cx
movzx ecx, byte [ebp + 6]
imul ecx, edi
mov dword [esp + 0x18], eax
movzx eax, byte [ebp + 7]
add cx, ax
movzx eax, cx
mov word [esp + 0x36], cx
movzx ecx, byte [ebp + 8]
imul ecx, edi
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp + 9]
add cx, ax
movzx eax, cx
mov word [esp + 0x38], cx
movzx ecx, byte [ebp + 0xa]
mov dword [esp + 0x20], eax
mov eax, edi
mov edi, ecx
mov cl, byte [ebp + 0xd]
imul edi, eax
movzx eax, byte [ebp + 0xb]
mov byte [esp + 0x11], cl
add di, ax
movzx eax, di
mov dword [esp + 0x24], eax
mov al, byte [ebp + 0xc]
movzx ecx, al
mov byte [esp + 0x13], al
mov eax, 0x100
imul ecx, eax
movzx eax, byte [esp + 0x11]
mov word [esp + 0x3a], di
add cx, ax
mov al, byte [ebp + 0xe]
mov dword [esp + 0x28], ecx
mov word [esp + 0x3c], cx
mov cl, byte [ebp + 0xf]
mov byte [esp + 0x10], cl
movzx ecx, al
mov byte [esp + 0x12], al
mov eax, 0x100
imul ecx, eax
movzx eax, byte [esp + 0x10]
add cx, ax
mov word [esp + 0x3e], cx
test dx, dx
jne 0x32790bd
cmp word [esp + 0x14], si
jne 0x32790bd
cmp word [esp + 0x18], si
jne 0x32790bd
cmp word [esp + 0x1c], si
jne 0x32790bd
cmp word [esp + 0x20], si
jne 0x32790bd
cmp word [esp + 0x24], si
jne 0x32790fd
cmp word [esp + 0x28], si
je 0x32790bd
test cx, cx
jne 0x3279107
xor eax, eax
nop
cmp word [esp + eax*2 + 0x30], 0
mov edx, eax
jne 0x327916c
inc eax
mov ecx, 1
cmp eax, 8
jge 0x32790ef
nop dword [eax]
cmp word [esp + eax*2 + 0x30], 0
jne 0x32790ef
inc eax
inc ecx
cmp eax, 8
jl 0x32790e0
cmp ecx, esi
cmovle edx, ebx
cmovle ecx, esi
mov ebx, edx
mov esi, ecx
jmp 0x327916d
mov eax, 0xffff
cmp di, ax
jne 0x32790bd
movzx eax, byte [esp + 0x10]
movzx ecx, byte [esp + 0x12]
movzx edx, byte [esp + 0x11]
movzx esi, byte [esp + 0x13]
push eax
push ecx
push edx
push esi
test di, di
jne 0x327913a
push str.::_d._d._d._d
lea eax, [esp + 0x54]
push 0x40
push eax
call fcn.03278e00
add esp, 0x1c
jmp 0x3279152
movzx eax, di
push eax
push str.::_x:_d._d._d._d
lea eax, [esp + 0x58]
push 0x40
push eax
call fcn.03278e00
add esp, 0x20
lea ecx, [esp + 0x40]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x3279160
jmp 0x327920b
inc eax
cmp eax, 8
jl 0x32790c0
or eax, 0xffffffff
lea edi, [esp + 0x40]
cmp esi, 1
cmovle ebx, eax
xor esi, esi
movzx eax, word [esp + esi*2 + 0x30]
test ax, ax
jne 0x32791c1
cmp ebx, esi
jne 0x32791c1
test esi, esi
jne 0x32791a1
mov word [edi], 0x3a3a
add edi, 2
jmp 0x32791b0
mov byte [edi], 0x3a
inc edi
cmp esi, 8
jge 0x32791be
nop word [eax + eax]
cmp word [esp + esi*2 + 0x30], 0
jne 0x32791be
inc esi
cmp esi, 8
jl 0x32791b0
dec esi
jmp 0x32791f4
push eax
lea eax, [esp + 0x84]
push 0x33bdf60
sub eax, edi
push eax
push edi
call fcn.03278e00
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x32791e0
sub ecx, edx
add edi, ecx
cmp esi, 7
je 0x32791f4
mov byte [edi], 0x3a
inc edi
inc esi
cmp esi, 8
jl 0x3279185
lea ecx, [esp + 0x40]
mov byte [edi], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x3279204
mov eax, dword [esp + 0x94]
sub ecx, edx
cmp ecx, eax
ja 0x3279240
mov esi, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0329a980
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0338ca36
add esp, 0x74
ret
mov ecx, dword [esp + 0x80]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0338ca36
add esp, 0x74
ret