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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 8
call fcn.004268f2
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.004268f2
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5491f5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.004268f2
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x5491f5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.004268f2
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push 0
mov eax, 0x10
call fcn.00426904
cmp dword [ebp - 0x1c], esp
je 0x408df6
push 6
call fcn.004268fe
add esp, 4
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinhttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42b420
call fcn.0042690a
add esp, 0x28
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push getpeername
push 0
push 0x54934d
push getpeername
push 0
push 0x5496c1
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x40
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0x2c]
push getpeername
push 0
push str.Referer
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x34
push getpeername
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push getpeername
push 0
push str.User_Agent
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x34
cmp dword [ebp + 0x40], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x4091cc
push 0
push 0
push 0
push getpeername
push 0
push 0x549245
push getpeername
push 0
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx]
test eax, eax
jne 0x408f6b
mov eax, 0x549190
push eax
push 3
mov ebx, 0x427bf0
call fcn.0042690a
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408fa3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408f9f
imul eax, dword [ebx]
jmp 0x408f94
mov ecx, eax
test ecx, ecx
je 0x408fc2
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x408fbb
push ebx
push eax
call fcn.004268f8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408fa9
call fcn.004268f8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.004021a6
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4091c9
mov ebx, dword [ebp - 8]
call fcn.0040215f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x40900a
push 4
call fcn.004268fe
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40901d
push 1
call fcn.004268fe
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x549190
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.00401105
add esp, 8
cmp eax, 0
jne 0x409045
jmp 0x4091c1
mov ebx, dword [ebp - 8]
call fcn.0040215f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x409062
push 4
call fcn.004268fe
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x409075
push 1
call fcn.004268fe
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push getpeername
push 0
push 0x549730
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4090a4
mov eax, 0x549190
push eax
push 3
mov ebx, 0x427bf0
call fcn.0042690a
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4090dc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4090d8
imul eax, dword [ebx]
jmp 0x4090cd
mov ecx, eax
test ecx, ecx
je 0x4090fb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4090f4
push ebx
push eax
call fcn.004268f8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4090e2
call fcn.004268f8
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.004021a6
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x409121
jmp 0x4091c1
mov ebx, dword [ebp - 0x10]
call fcn.0040215f
mov eax, 0
cmp eax, ecx
jl 0x40913f
push 1
call fcn.004268fe
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040215f
mov eax, 1
cmp eax, ecx
jl 0x409165
push 1
call fcn.004268fe
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x409182
mov eax, 0x549190
push eax
push getpeername
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x409198
mov eax, 0x549190
push eax
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x34
pop eax
pop ebx
pop ecx
jmp 0x408fdf
add esp, 0xc
cmp dword [ebp + 0x50], 0
jne 0x409233
push 0x80000301
push 0
push 0x4e20
push 0x80000301
push 0
push 0x4e20
push 0x80000301
push 0
push 0x4e20
push 0x80000301
push 0
push 0x4e20
push getpeername
push 0
push str.SetTimeOuts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x4c
jmp 0x409287
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x4c]
push eax
push getpeername
push 0
push str.SetTimeOuts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x4c
cmp dword [ebp + 0x38], 0
jne 0x4092d6
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42b320
call fcn.0042690a
add esp, 0x34
jmp 0x409315
push 0xa0000002
push 0
lea eax, [ebp + 0x34]
push eax
push 0x80000301
push 0
push 6
push getpeername
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42b320
call fcn.0042690a
add esp, 0x34
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x40936b
push getpeername
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x409344
mov eax, 0x549190
push eax
push 1
mov ebx, 0x426d50
call fcn.0042690a
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40936b
mov eax, 1
jmp 0x40936d
xor eax, eax
test eax, eax
je 0x4093b3
push 0xa0000004
push 0
push dword [ebp + 0x44]
push 0x80000301
push 0
push 2
push getpeername
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42a140
call fcn.0042690a
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.responseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42a110
call fcn.0042690a
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42a260
call fcn.0042690a
add esp, 0x10
call fcn.004268f8
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x42a2a0
call fcn.0042690a
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40947a
push ebx
call fcn.004268f8
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetAllResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42a1a0
call fcn.0042690a
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4094c5
push ebx
call fcn.004268f8
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov eax, 0x11
call fcn.00426904
cmp dword [ebp - 0x1c], esp
je 0x4094ea
push 6
call fcn.004268fe
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x409504
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004268f2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x409509
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42b3f0
call fcn.0042690a
add esp, 0x10
call fcn.004268f8
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40954b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x409547
imul eax, dword [ebx]
jmp 0x40953c
mov ecx, eax
test ecx, ecx
je 0x40956a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x409563
push ebx
push eax
call fcn.004268f8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409551
call fcn.004268f8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x409590
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40958c
imul eax, dword [ebx]
jmp 0x409581
mov ecx, eax
test ecx, ecx
je 0x4095af
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4095a8
push ebx
push eax
call fcn.004268f8
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x409596
call fcn.004268f8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42a260
call fcn.0042690a
add esp, 0x10
call fcn.004268f8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4095ea
push ebx
call fcn.004268f8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x4c