Function at 0x47d2b0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3b62
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xac], edi
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [edi + 0x24e0], 3
mov esi, dword [ebp + 0xc]
push 0
push 0
push 0
setne al
mov dword [ebp - 0x98], ebx
push eax
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.1__Trident_4.0__SLCC2__.NET_CLR_2.0.50727__.NET_CLR_3.5.30729__.NET_CLR_3.0.30729__.NET4.0C__.NET4.0E_
mov dword [ebp - 0x9c], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebx], eax
test eax, eax
jne 0x47d334
push str.InternetOpenA_CHttpTask::OpenInternet
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.0047e190
jmp 0x47d506
mov eax, dword [edi + 0x24e0]
or ebx, 0xffffffff
cmp eax, 1
je 0x47d34b
cmp eax, 2
jne 0x47d5ae
push 3
push dword [edi + 0x24e4]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.00438d30
push dword [ebp - 0x94]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0
call fcn.00406240
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x47d39f
push eax
call fcn.00585aef
add esp, 4
movzx eax, word [edi + 0x24e8]
mov dword [ebp - 0xc0], eax
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x47d3c1
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 3
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x47d3e8
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb8], esi
cmp dword [edi + 0x24e0], 2
mov byte [ebp - 4], 4
jne 0x47d41b
push 6
push str.SOCKS
lea ecx, [ebp - 0xb8]
call fcn.00406150
mov esi, dword [ebp - 0xb8]
push dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
push dword [ebp - 0xa8]
push esi
push str._s_s:_d
push eax
call fcn.00454980
mov edi, dword [ebp - 0xbc]
lea eax, [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xd0], 3
xorps xmm0, xmm0
movq qword [ebp - 0xcc], xmm0
mov dword [ebp - 0xcc], edi
push 0xc
push eax
mov eax, dword [ebp - 0x98]
push 0x26
mov dword [ebp - 0xc8], 0
push dword [eax]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x47d548
push str.InternetSetOption_CHttpTask::OpenInternet
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xac]
push eax
call fcn.0047e190
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47d4bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47d4d8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47d4fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x98]
mov eax, dword [esi]
mov edi, dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
test eax, eax
je 0x47d525
push 0
push eax
call edi
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], 0
mov eax, dword [ebx]
test eax, eax
je 0x47d53e
push 0
push eax
call edi
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx], 0
mov eax, 0x80004005
jmp 0x47d75b
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47d563
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47d57e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d5a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xac]
lea eax, [edi + 0x294]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00404ca0
lea eax, [edi + 0x396]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404ca0
mov ecx, dword [ebp - 0xa0]
xor eax, eax
push edi
push SysReAllocString
push 3
cmp dword [ecx - 0xc], eax
mov byte [ebp - 4], 6
cmove ecx, eax
mov eax, dword [ebp - 0xa4]
xor edx, edx
push ecx
cmp dword [eax - 0xc], edx
cmove eax, edx
movzx edx, word [edi + 0x249c]
push eax
push edx
lea eax, [edi + 0x92]
push eax
mov eax, dword [ebp - 0x98]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectW]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
push str.InternetConnect_CHttpTask::OpenInternet
setne cl
push ecx
mov ecx, edi
call fcn.0047ce10
test eax, eax
jns 0x47d686
mov edx, dword [ebp - 0xa0]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d65b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47d500
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47d500
mov ecx, dword [esi]
test ecx, ecx
jne 0x47d69c
push str.InternetConnect_CHttpTask::OpenInternet
push 0xffffffffffffffff
mov ecx, edi
call fcn.0047e190
jmp 0x47d63a
mov eax, dword [edi + 0x2548]
cmp eax, 0xffffffff
je 0x47d6b0
push eax
push ecx
mov ecx, edi
call fcn.0047e340
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xb4], 1
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb0], 0
push eax
push 0x32
push 0
mov dword [ebp - 0xc4], 8
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test byte [ebp - 0xb4], 1
jne 0x47d716
push 8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 1
push eax
push 0x32
push 0
mov dword [ebp - 0xb0], 0
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov edx, dword [ebp - 0xa0]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d737
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47d759
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 8