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

Disassembly:
push 0xffffffffffffffff
push 0x43f4ee
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0043b070
mov eax, dword [0x454654]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454654]
xor eax, esp
push eax
lea eax, [esp + 0x1044]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1054]
xor edi, edi
mov dword [esp + 0x104c], edi
mov dword [esp + 0x34], edi
mov eax, dword [0x45a98c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x45a98c
mov dword [esp + 0x30], esi
call edx
add eax, 0x10
mov dword [esi], eax
push edi
push edi
push edi
mov esi, 1
push esi
mov dword [esp + 0x105c], edi
push edi
mov dword [esp + 0x48], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x2c], eax
cmp eax, edi
je 0x40bfc0
push 4
lea ecx, [esp + 0x3c]
push ecx
push 0x41
push eax
mov dword [esp + 0x48], esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close
lea ebx, [edi + 0x31]
lea eax, [esp + 0x18]
mov dword [esp + 0x1050], esi
call fcn.004016b0
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x443f74
mov byte [esp + 0x104c], 2
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bc50
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x443f74
lea eax, [esp + 0x1c]
call fcn.004016b0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jle 0x40bcb1
push 2
push 0x443fd4
lea edx, [esp + 0x1c]
push edx
call fcn.004041d0
mov eax, 0x443f74
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40bc92
sub eax, edx
sar eax, 1
push eax
push 0x443f74
lea eax, [esp + 0x1c]
push eax
call fcn.004041d0
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
xor edi, edi
call fcn.00403530
mov ecx, eax
mov bl, 3
lea eax, [esp + 0x20]
mov byte [esp + 0x104c], bl
call fcn.00403940
mov eax, dword [eax]
push str.https:__
push eax
call fcn.00428146
mov byte [esp + 0x1054], bl
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx - 0x10]
add esp, 8
test eax, eax
sete byte [esp + 0x1f]
lea eax, [ecx - 0x10]
xor ebx, ebx
cmp dword [eax + 4], ebx
je 0x40bd51
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x40bd2b
cmp dword [ecx - 8], ebx
jge 0x40bd19
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], ebx
mov eax, dword [esp + 0x20]
xor edx, edx
mov word [eax], dx
mov ecx, dword [esp + 0x20]
jmp 0x40bd51
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bd41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x20], ecx
add ecx, 0xfffffff0
lea edx, [ecx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40bd6f
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104c], 2
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x40bdd5
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x40bdaf
cmp dword [ecx - 8], ebx
jge 0x40bd9d
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], ebx
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [esp + 0x24]
jmp 0x40bdd5
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bdc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x24], ecx
add ecx, 0xfffffff0
lea edx, [ecx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40bdf3
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
je 0x40bdff
mov edi, 0x800000
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push ebx
or edi, 0x4000000
push edi
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ebp
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
test ebx, ebx
jne 0x40be76
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x18]
mov byte [esp + 0x104c], 1
call fcn.004015c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40be59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x14]
mov byte [esp + 0x104c], 0
call fcn.004015c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40bfa7
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x28]
push ecx
push 0x1000
lea edx, [esp + 0x44]
push edx
push ebx
call ebp
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + eax + 0x40], 0
call fcn.004069f0
test esi, esi
je 0x40beba
cmp dword [esp + 0x28], 0
jne 0x40be84
mov byte [esp + 0x104c], 1
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x40bf21
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x40bef9
cmp dword [ecx - 8], 0
jge 0x40beeb
push 0x80070057
call fcn.00401960
xor edx, edx
mov dword [ecx - 0xc], 0
mov word [ecx], dx
jmp 0x40bf21
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bf0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, eax
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104c], 0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x40bfa4
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x40bf7c
cmp dword [ecx - 8], 0
jge 0x40bf6e
push 0x80070057
call fcn.00401960
xor edx, edx
mov dword [ecx - 0xc], 0
mov word [ecx], dx
jmp 0x40bfa4
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bf92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, eax
lea eax, [ecx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfc0
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 + 0x2c]
push ecx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x102c]
xor ecx, esp
call fcn.0042761e
add esp, 0x103c
ret