Function at 0x401e70
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x427163
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.004237b0
mov eax, dword [0x43914c]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
xor eax, esp
push eax
lea eax, [esp + 0x103c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104c]
xor ebp, ebp
mov dword [esp + 0x1044], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x43f30c]
mov ebx, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
mov dword [esp + 0x20], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
push ebp
push ebp
push ebp
mov ebx, 1
push ebx
mov dword [esp + 0x1054], ebp
push ebp
mov dword [esp + 0x38], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x4020bf
push 4
lea ecx, [esp + 0x34]
push ecx
push 0x41
push eax
mov dword [esp + 0x40], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1044], ebx
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close_r_n
lea ebx, [ebp + 0x33]
lea eax, [esp + 0x1c]
call fcn.00401470
test esi, esi
jne 0x401f51
xor eax, eax
jmp 0x401f65
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401f56
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.004041b0
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
xor esi, esi
call fcn.004033a0
mov ecx, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1044], 2
call fcn.00403770
mov eax, dword [eax]
push str.https:__
push eax
call fcn.00417669
add esp, 8
test eax, eax
mov byte [esp + 0x1044], 2
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401fcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1044], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x402000
mov esi, 0x803000
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x1c]
push 0
or esi, 0x4000000
push esi
push eax
push ebp
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
jne 0x402044
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea eax, [ebp - 0x10]
mov byte [esp + 0x1044], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4020b3
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x3c]
push edx
push edi
call ebx
mov esi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + eax + 0x34], 0
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402076
sub eax, edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edx, eax
call fcn.00403fd0
test esi, esi
je 0x40209b
cmp dword [esp + 0x14], 0
jne 0x402052
lea eax, [ebp - 0x10]
mov byte [esp + 0x1044], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4020bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x103c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.00416b64
add esp, 0x1034
ret