Function at 0x80211b
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3298
call fcn.008224c0
push edi
mov dword [ebp - 0x3294], ecx
mov dword [ebp - 0x3288], 0
mov dword [ebp - 0x3284], 0
mov word [ebp - 0x1244], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1242]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea eax, [ebp - 0x1244]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0080323b
add esp, 0xc
mov dword [ebp - 0x1648], eax
mov dword [ebp - 0x2e50], 0
mov ecx, 0x600
xor eax, eax
lea edi, [ebp - 0x2e4c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x244], 0
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x240]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x2e50]
push edx
mov eax, dword [ebp - 0x1648]
push eax
mov ecx, dword [ebp - 0x3294]
call fcn.00801ffb
test eax, eax
jne 0x8021df
xor eax, eax
jmp 0x80288b
lea ecx, [ebp - 0x1244]
mov dword [ebp - 0x3278], ecx
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x218]
push eax
push str._s_s
mov ecx, dword [ebp - 0x3278]
push ecx
call fcn.0082464d
add esp, 0x10
mov word [ebp - 0x204], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x202]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x240]
push eax
push str.Referer:_s:___s_
lea ecx, [ebp - 0x204]
push ecx
call fcn.0082464d
add esp, 0x10
cmp dword [ebp - 0x238], 2
jne 0x80225c
mov dword [ebp - 0x3288], 0x800000
mov dword [ebp - 0x3274], str.POST
mov edx, dword [ebp + 8]
cmp dword [edx + 0x18], 0
jne 0x802279
mov dword [ebp - 0x3274], 0x1354a4c
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xfffffffa
cmp dword [0x139a880], 0
jne 0x8022f3
push 0
push 0
push 0
push 1
push 0x12da1f4
call dword [0x139a88c]
mov dword [0x139a880], eax
cmp dword [0x139a880], 0
jne 0x8022c3
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
add eax, 0x1406f40
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x802386
mov edx, dword [0x1354a90]
push edx
mov eax, dword [ebp - 0x3294]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x3294]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x3294]
mov edx, dword [ecx]
push edx
mov eax, dword [0x139a880]
push eax
call dword [0x139a890]
push 0
mov cx, word [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [0x139a880]
push eax
call dword [0x139a894]
mov dword [ebp - 0x2e6c], eax
cmp dword [0x139a880], 0
jne 0x802332
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
add eax, 0x15ef3c0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x802386
mov edx, dword [ebp - 0x3288]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x3278]
push eax
mov ecx, dword [ebp - 0x3274]
push ecx
mov edx, dword [ebp - 0x2e6c]
push edx
call dword [0x139a898]
mov dword [ebp - 0x2e58], eax
cmp dword [0x139a880], 0
jne 0x80237c
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
add eax, 0x16e3600
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x802386
xor edx, edx
test edx, edx
jne 0x802283
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xfffffffa
je 0x8023af
lea ecx, [ebp - 0x2e6c]
push ecx
lea edx, [ebp - 0x2e58]
push edx
mov ecx, dword [ebp - 0x3294]
call fcn.008020d4
xor eax, eax
jmp 0x80288b
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xfffffffb
cmp dword [ebp - 0x3288], 0x800000
jne 0x8023e7
mov dword [ebp - 0x3290], 0x3300
push 4
lea ecx, [ebp - 0x3290]
push ecx
push 0x1f
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a89c]
push 0x10000000
push 0xffffffffffffffff
push 0x12da338
mov eax, dword [ebp - 0x2e58]
push eax
call dword [0x139a8a0]
push 0x10000000
push 0xffffffffffffffff
push 0x12da368
mov ecx, dword [ebp - 0x2e58]
push ecx
call dword [0x139a8a0]
push 0x10000000
push 0xffffffffffffffff
push 0x12da2e8
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a8a0]
push 0x10000000
push 0xffffffffffffffff
push 0x12da308
mov eax, dword [ebp - 0x2e58]
push eax
call dword [0x139a8a0]
push 0x10000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a8a0]
mov eax, dword [ebp - 0x3274]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x50
jne 0x80248f
push 0x10000000
push 0xffffffffffffffff
push 0x12da388
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a8a0]
mov word [ebp - 0x3270], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x326e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x12da260
call fcn.00822ff7
add esp, 4
mov dword [ebp - 0x3280], eax
mov eax, dword [ebp - 0x3280]
shl eax, 1
push eax
push 0x12da260
lea ecx, [ebp - 0x3270]
push ecx
call fcn.00824700
add esp, 0xc
push 0
mov edx, dword [ebp - 0x3280]
lea eax, [ebp + edx*2 - 0x3272]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.0080323b
add esp, 0xc
push closesocket
push 0xffffffffffffffff
lea eax, [ebp - 0x3270]
push eax
mov ecx, dword [ebp - 0x2e58]
push ecx
call dword [0x139a8a0]
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xfffffffc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x802539
mov dword [ebp - 0x3298], 0
jmp 0x80254e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
call fcn.00824a40
add esp, 4
mov dword [ebp - 0x3298], eax
mov eax, dword [ebp - 0x3298]
mov dword [ebp - 0x328c], eax
mov dword [ebp - 0x2e64], 0
jmp 0x802575
mov ecx, dword [ebp - 0x2e64]
add ecx, 1
mov dword [ebp - 0x2e64], ecx
cmp dword [ebp - 0x2e64], 3
jge 0x802647
push 0
mov edx, dword [ebp - 0x328c]
push edx
mov eax, dword [ebp - 0x328c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x2e58]
push eax
call dword [0x139a8a4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x8025f0
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov dword [ebp - 0x3284], eax
mov ecx, dword [ebp - 0x3284]
add ecx, 0x17d7840
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
cmp dword [ebp - 0x3284], 0x2efd
je 0x8025eb
cmp dword [ebp - 0x3284], 0x2efe
je 0x8025eb
jmp 0x802647
jmp 0x802566
push 0
mov eax, dword [ebp - 0x2e58]
push eax
call dword [0x139a8a8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x80260a
jmp 0x802647
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov dword [ebp - 0x3284], eax
mov ecx, dword [ebp - 0x3284]
add ecx, 0x18cba80
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
cmp dword [ebp - 0x3284], 0x2efd
je 0x802642
cmp dword [ebp - 0x3284], 0x2efe
je 0x802642
jmp 0x802647
jmp 0x802566
cmp dword [ebp - 4], 0
jne 0x80266d
lea eax, [ebp - 0x2e6c]
push eax
lea ecx, [ebp - 0x2e58]
push ecx
mov ecx, dword [ebp - 0x3294]
call fcn.008020d4
xor eax, eax
jmp 0x80288b
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xfffffffd
mov word [ebp - 0x1644], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1642]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x2e60], 0x400
push 0
lea eax, [ebp - 0x2e60]
push eax
lea ecx, [ebp - 0x1644]
push ecx
push 0
push 0x13
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a8ac]
cmp dword [ebp - 0x2e60], 0
jbe 0x8026dc
lea eax, [ebp - 0x1644]
push eax
call fcn.00825cf0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x8026e6
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xfffffffe
mov dword [ebp - 0x327c], 0x2000
mov dword [ebp - 0x2e70], 0
mov dword [ebp - 0x2e68], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x164c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x2e5c], ecx
lea edx, [ebp - 0x2e68]
push edx
mov eax, dword [ebp - 0x2e58]
push eax
call dword [0x139a8b0]
test eax, eax
je 0x80280e
cmp dword [ebp - 0x2e68], 1
jae 0x80274e
jmp 0x80280e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0xfffffffe
jne 0x802761
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xc8
mov eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x2e68]
mov ecx, dword [ebp - 0x327c]
sub ecx, 1
cmp eax, ecx
jbe 0x8027c3
mov edx, dword [ebp - 0x327c]
shl edx, 1
mov dword [ebp - 0x327c], edx
mov eax, dword [ebp - 0x327c]
push eax
mov ecx, dword [ebp - 0x2e5c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap_1]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc_1]
mov dword [ebp - 0x2e70], eax
mov edx, dword [ebp - 0x2e70]
mov dword [ebp - 0x2e5c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2e5c]
mov dword [eax + 0xc], ecx
lea edx, [ebp - 0x164c]
push edx
mov eax, dword [ebp - 0x327c]
sub eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x2e5c]
add ecx, dword [ebp - 0x208]
push ecx
mov edx, dword [ebp - 0x2e58]
push edx
call dword [0x139a8b4]
test eax, eax
jne 0x8027f7
jmp 0x80280e
mov eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x164c]
mov dword [ebp - 0x208], eax
jmp 0x802724
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
jne 0x802854
mov edx, dword [ebp - 0x2e5c]
add edx, dword [ebp - 0x208]
mov byte [edx], 0
push 0
mov eax, dword [ebp - 0x2e5c]
push eax
call fcn.00803286
add esp, 8
mov dword [ebp - 0x2e5c], eax
mov ecx, dword [ebp - 0x2e5c]
push ecx
call fcn.00824a40
add esp, 4
mov dword [ebp - 0x2e54], eax
jmp 0x802860
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x2e54], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2e54]
mov dword [eax + 8], ecx
lea edx, [ebp - 0x2e6c]
push edx
lea eax, [ebp - 0x2e58]
push eax
mov ecx, dword [ebp - 0x3294]
call fcn.008020d4
mov eax, dword [ebp - 0x2e54]
pop edi
mov esp, ebp
pop ebp
ret 4