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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 8
call fcn.0040e9db
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0040e9db
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4d8add
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.0040e9db
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4d8add
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0x10
call fcn.0040e9db
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, 0
call fcn.0040e9cf
cmp dword [ebp - 0x1c], esp
je 0x405366
push 6
call fcn.0040e9c9
add esp, 4
push 0
push 0
push 0
push VariantClear
push 0
push str.WinHttp.WinhttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x411de0
call fcn.0040e9d5
add esp, 0x28
cmp dword [ebp + 0x38], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x4053ea
push VariantClear
push 0
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebx]
test eax, eax
jne 0x4053c3
mov eax, 0x4d8ac2
push eax
push 1
mov ebx, 0x40ed70
call fcn.0040e9d5
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4053ea
mov eax, 1
jmp 0x4053ec
xor eax, eax
test eax, eax
je 0x405432
push 0xa0000004
push 0
push dword [ebp + 0x34]
push 0x80000301
push 0
push 2
push VariantClear
push 0
push str.SetProxy
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push VariantClear
push 0
push 0x4d8d11
push VariantClear
push 0
push 0x4d8d15
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x40
push 0xa0000004
push 0
push dword [ebp + 0xc]
push VariantClear
push 0
push str.cookie
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push VariantClear
push 0
push str.Referer
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x34
push VariantClear
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push VariantClear
push 0
push str.User_Agent
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x34
cmp dword [ebp + 0x30], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x4057ec
push 0
push 0
push 0
push VariantClear
push 0
push 0x4d8abf
push VariantClear
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405579
mov eax, 0x4d8ac2
push eax
push 3
mov ebx, 0x40f7c0
call fcn.0040e9d5
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 0x4055b1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4055ad
imul eax, dword [ebx]
jmp 0x4055a2
mov ecx, eax
test ecx, ecx
je 0x4055d0
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4055c9
push ebx
push eax
call fcn.0040e9e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4055b7
call fcn.0040e9e1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00401131
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 0x4057e9
mov ebx, dword [ebp - 8]
call fcn.0040114a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405618
push 4
call fcn.0040e9c9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40562b
push 1
call fcn.0040e9c9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x4d8ac2
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.00402eac
add esp, 8
cmp eax, 0
jne 0x405653
jmp 0x4057e1
mov ebx, dword [ebp - 8]
call fcn.0040114a
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x405670
push 4
call fcn.0040e9c9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x405683
push 1
call fcn.0040e9c9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push VariantClear
push 0
push 0x4d8d8c
push VariantClear
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4056b2
mov eax, 0x4d8ac2
push eax
push 3
mov ebx, 0x40f7c0
call fcn.0040e9d5
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 0x4056ea
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4056e6
imul eax, dword [ebx]
jmp 0x4056db
mov ecx, eax
test ecx, ecx
je 0x405709
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405702
push ebx
push eax
call fcn.0040e9e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4056f0
call fcn.0040e9e1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.00401131
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x40572f
jmp 0x4057e1
mov ebx, dword [ebp - 0x10]
call fcn.0040114a
mov eax, 0
cmp eax, ecx
jl 0x40574d
push 1
call fcn.0040e9c9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x10]
call fcn.0040114a
mov eax, 1
cmp eax, ecx
jl 0x405773
push 1
call fcn.0040e9c9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push VariantClear
push 0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x405790
mov eax, 0x4d8ac2
push eax
push VariantClear
push 0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
test eax, eax
jne 0x4057a6
mov eax, 0x4d8ac2
push eax
push VariantClear
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x34
push 0
mov ebx, 0x4108a0
call fcn.0040e9d5
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x4055ed
add esp, 0xc
cmp dword [ebp + 0x40], 0
jne 0x405853
push 0x80000301
push 0
push 0x2710
push 0x80000301
push 0
push 0x2710
push 0x80000301
push 0
push 0x2710
push 0x80000301
push 0
push 0x2710
push VariantClear
push 0
push str.SetTimeOuts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x4c
jmp 0x4058a7
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push 0xa0000301
push 0
lea eax, [ebp + 0x3c]
push eax
push VariantClear
push 0
push str.SetTimeOuts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x4c
cmp dword [ebp + 0x28], 0
jne 0x4058f6
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x411d00
call fcn.0040e9d5
add esp, 0x34
jmp 0x405935
push 0xa0000002
push 0
lea eax, [ebp + 0x24]
push eax
push 0x80000301
push 0
push 6
push VariantClear
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x411d00
call fcn.0040e9d5
add esp, 0x34
push VariantClear
push 0
push 0x4d8ac2
push VariantClear
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410e20
call fcn.0040e9d5
add esp, 0x28
push 0
push 0
push 0
push VariantClear
push 0
push str.responseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410df0
call fcn.0040e9d5
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, 0x410eb0
call fcn.0040e9d5
add esp, 0x10
call fcn.0040e9e1
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, 0x410ed0
call fcn.0040e9d5
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4059fe
push ebx
call fcn.0040e9e1
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push VariantClear
push 0
push str.GetAllResponseHeaders
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x410e50
call fcn.0040e9d5
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405a49
push ebx
call fcn.0040e9e1
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
mov eax, 1
call fcn.0040e9cf
cmp dword [ebp - 0x1c], esp
je 0x405a6e
push 6
call fcn.0040e9c9
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x405a88
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0040e9db
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x405a8d
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x411dd0
call fcn.0040e9d5
add esp, 0x10
call fcn.0040e9e1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405acf
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405acb
imul eax, dword [ebx]
jmp 0x405ac0
mov ecx, eax
test ecx, ecx
je 0x405aee
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405ae7
push ebx
push eax
call fcn.0040e9e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405ad5
call fcn.0040e9e1
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x405b14
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x405b10
imul eax, dword [ebx]
jmp 0x405b05
mov ecx, eax
test ecx, ecx
je 0x405b33
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x405b2c
push ebx
push eax
call fcn.0040e9e1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x405b1a
call fcn.0040e9e1
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x410eb0
call fcn.0040e9d5
add esp, 0x10
call fcn.0040e9e1
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405b6e
push ebx
call fcn.0040e9e1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x3c