Function at 0x4070d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5664a4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2928
call fcn.0053b080
mov eax, dword [0x5c4920]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x2828], ecx
mov dword [ebp - 0x2824], esi
xor edi, edi
push 0x596e98
mov dword [ebp - 4], edi
call fcn.004076a0
lea eax, [ebp - 0x2930]
push eax
call fcn.0040d3f0
mov dword [ebp - 0x281c], edi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x4072ef
xor eax, eax
mov dword [ebp - 0x2820], eax
lea esp, [esp]
mov ecx, dword [esi + 8]
cmp eax, ecx
jge 0x4072ef
test eax, eax
js 0x4072ca
cmp eax, ecx
jge 0x4072ca
mov ecx, dword [esi + 4]
mov edi, dword [ecx + eax*8]
lea esi, [ecx + eax*8]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x40719a
cmp eax, dword [edi - 0x10]
jne 0x40719a
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4071d3
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4071b3
call fcn.00403020
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00531430
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x2830], ebx
mov byte [ebp - 4], 3
mov edi, dword [esi + 4]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x407209
cmp eax, dword [edi - 0x10]
jne 0x407209
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407242
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x407222
call fcn.00403020
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00531430
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x282c], ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2890], 0
je 0x407262
mov esi, str.CHttpClientT::AddParam:_It_is_not_allowed_to_call_this_method_if_the_POST_context_is_active.
call fcn.0040b8c0
mov esi, dword [ebp - 0x2830]
push ebx
lea ecx, [ebp - 0x28fc]
push ecx
mov ecx, esi
call fcn.0040cbd0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4072b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x2820]
mov eax, dword [ebp - 0x2820]
mov esi, dword [ebp - 0x2824]
jmp 0x407150
call fcn.0043e97b
mov eax, 0x4072d5
ret
cmp dword [ebp + 0xc], 0
mov esi, 1
mov dword [ebp - 4], esi
mov byte [ebp - 4], 6
push 0x84400f00
jne 0x407365
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2930]
push edx
call fcn.0040e130
mov dword [ebp - 0x281c], eax
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x281c]
test esi, esi
jne 0x4073b4
lea ecx, [ebp - 0x2930]
call fcn.0040d6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40735e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407501
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2930]
call fcn.0040e770
cmp dword [ebp - 0x281c], 0
jne 0x40731c
cmp dword [ebp - 0x2838], 0
je 0x40739a
lea ecx, [ebp - 0x2930]
push ecx
call fcn.0040eba0
mov dword [ebp - 0x281c], eax
jmp 0x407374
lea edx, [ebp - 0x2930]
push edx
call fcn.0040efc0
mov dword [ebp - 0x281c], eax
jmp 0x407374
push 0x27ff
lea ecx, [ebp - 0x2817]
push 0
push ecx
mov byte [ebp - 0x2818], 0
call fcn.00538700
add esp, 0xc
call fcn.0043dc32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4073eb
push 0x80004005
call fcn.00403280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2824], edi
mov byte [ebp - 4], 8
mov eax, dword [esi + 0x20]
test eax, eax
je 0x407480
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x2820]
push ecx
push 0x27ff
lea edx, [ebp - 0x2818]
push edx
push eax
mov dword [ebp - 0x2820], 0
call esi
test eax, eax
je 0x40748a
mov eax, dword [ebp - 0x2820]
test eax, eax
je 0x40749d
mov byte [ebp + eax - 0x2818], 0
lea eax, [ebp - 0x2818]
push eax
push 0x5990cc
lea edi, [ebp - 0x2824]
call fcn.004065e0
mov edi, dword [ebp - 0x2824]
mov eax, dword [edi - 0xc]
mov ebx, dword [ebp - 0x2828]
add esp, 8
push edi
call fcn.00407830
mov ecx, dword [ebp - 0x281c]
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x40740e
mov esi, str.CHttpResponseT::ReadContent:_m_hRequest_can_not_be_NULL.
call fcn.0040b8c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
mov esi, 0x191
call fcn.0040b910
mov ecx, dword [ebp - 0x281c]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074cb
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [ebp - 0x2930]
call fcn.0040d6f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053129a
mov esp, ebp
pop ebp
ret