Function at 0x40b1c0
Capabilities:
Access peb ldr_data
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4288be
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.00424db0
mov eax, dword [0x43a14c]
xor eax, esp
mov dword [esp + 0x1030], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43a14c]
xor eax, esp
push eax
lea eax, [esp + 0x1048]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1058]
xor ebx, ebx
mov dword [esp + 0x1050], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [0x44030c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x44030c
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], ebp
call edx
add eax, 0x10
mov dword [esi], eax
push ebx
push ebx
push ebx
mov edi, 1
push edi
mov dword [esp + 0x1060], ebx
push ebx
mov dword [esp + 0x3c], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x38], esi
cmp esi, ebx
je 0x40b4d0
push 4
lea eax, [esp + 0x40]
push eax
push 0x41
push esi
mov dword [esp + 0x4c], edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [0x44030c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44030c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close
lea ebx, [edi + 0x30]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1054], edi
call fcn.00401450
mov edx, dword [0x44030c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44030c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, 0x42c39c
mov byte [esp + 0x1050], 2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b2c4
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x42c39c
lea eax, [esp + 0x20]
call fcn.00401450
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jle 0x40b325
push 2
push 0x42c3fc
lea edx, [esp + 0x20]
push edx
call fcn.004045b0
mov eax, 0x42c39c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b306
sub eax, edx
sar eax, 1
push eax
push 0x42c39c
lea eax, [esp + 0x20]
push eax
call fcn.004045b0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
xor edi, edi
call fcn.004034c0
mov ecx, eax
mov bl, 3
lea eax, [esp + 0x34]
mov byte [esp + 0x1050], bl
call fcn.00403890
mov eax, dword [eax]
push str.https:__
push eax
call fcn.00418d30
add esp, 8
test eax, eax
mov byte [esp + 0x1050], bl
mov eax, dword [esp + 0x34]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b385
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1050], 2
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 0x40b3ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x40b3b9
mov edi, 0x800000
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x30]
push 0
or edi, 0x4000000
push edi
push eax
push ebp
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x40b438
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x1050], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b40b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x1050], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b4d0
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
push ecx
push 0x1000
lea edx, [esp + 0x48]
push edx
push ebx
call ebp
mov esi, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + eax + 0x44], 0
call fcn.00406780
test edi, edi
je 0x40b47c
cmp dword [esp + 0x20], 0
jne 0x40b446
mov byte [esp + 0x1050], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1050], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x38]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
call edi
push esi
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.00418154
add esp, 0x1040
ret