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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 8
call fcn.0045508b
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], esp
push 0
mov eax, 0x57
call fcn.004550bb
cmp dword [ebp - 8], esp
je 0x42d8ee
push 6
call fcn.004550a9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x42d903
mov eax, 0x540fa1
push eax
push 1
mov ebx, 0x455f70
call fcn.00455085
add esp, 0x10
mov dword [ebp - 8], eax
push 0x541311
push dword [ebp - 8]
call fcn.00401291
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42d947
push ebx
call fcn.00455091
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x42d974
mov eax, 0x541311
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d969
push ebx
call fcn.00455091
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
jmp 0x42d992
mov eax, 0x547172
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42d98c
push ebx
call fcn.00455091
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x42d9a7
mov eax, 0x540fa1
push eax
push 1
mov ebx, 0x455f70
call fcn.00455085
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 7
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42d9dc
mov eax, 0x540fa1
push eax
push 2
mov ebx, 0x455ad0
call fcn.00455085
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42da02
push ebx
call fcn.00455091
add esp, 4
push str.HTTP:__
push dword [ebp - 0xc]
call fcn.00401291
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42da30
push ebx
call fcn.00455091
add esp, 4
mov eax, dword [ebp - 0x10]
and eax, 1
xor eax, 1
test eax, eax
je 0x42da77
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.HTTP:__
mov ecx, 2
call fcn.00401e16
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42da71
push ebx
call fcn.00455091
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x45b920
call fcn.00455085
add esp, 0x28
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1388
push 0x80000301
push 0
push 0x1388
push reloc.WS2_32.dll_connect
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 4]
push 6
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x4c
push reloc.WS2_32.dll_bind
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
push str.application_x_www_form_urlencoded
push reloc.WS2_32.dll_connect
push 0
push str.Content_Type
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8
push reloc.WS2_32.dll_connect
push 0
push str.Accept
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.Mozilla_5.0__iPhone__U__CPU_like_Mac_OS_X__en__AppleWebKit_420__KHTML__like_Gecko__Version_3.0_Mobile_1A543a_Safari_419.3
push reloc.WS2_32.dll_connect
push 0
push str.User_Agent
push reloc.WS2_32.dll_connect
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.WS2_32.dll_connect
push 0
push str.send
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x45af40
call fcn.00455085
add esp, 0x28
mov dword [ebp - 8], esp
mov eax, 0x58
call fcn.004550bb
cmp dword [ebp - 8], esp
je 0x42dc56
push 6
call fcn.004550a9
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x45af10
call fcn.00455085
add esp, 0x28
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 8]
push 2
mov ebx, 0x45b070
call fcn.00455085
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x45b030
call fcn.00455085
add esp, 0x10
call fcn.00455091
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x42dce2
mov eax, 0x540fb6
push eax
push 1
mov ebx, 0x457280
call fcn.00455085
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42dd08
push ebx
call fcn.00455091
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x42dd10
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x45b8f0
call fcn.00455085
add esp, 0x10
call fcn.00455091
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14