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

Disassembly:
push 0xffffffffffffffff
push 0x42725e
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.004237b0
mov eax, dword [0x43914c]
xor eax, esp
mov dword [esp + 0x1030], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
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 [0x43f30c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x43f30c
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 0x40aa60
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 [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
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.00401470
mov edx, dword [0x43f30c]
mov eax, dword [edx + 0xc]
mov ecx, 0x43f30c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, 0x42b39c
mov byte [esp + 0x1050], 2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a854
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x42b39c
lea eax, [esp + 0x20]
call fcn.00401470
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jle 0x40a8b5
push 2
push 0x42b3fc
lea edx, [esp + 0x20]
push edx
call fcn.004041b0
mov eax, 0x42b39c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a896
sub eax, edx
sar eax, 1
push eax
push 0x42b39c
lea eax, [esp + 0x20]
push eax
call fcn.004041b0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
xor edi, edi
call fcn.004033a0
mov ecx, eax
mov bl, 3
lea eax, [esp + 0x34]
mov byte [esp + 0x1050], bl
call fcn.00403770
mov eax, dword [eax]
push str.https:__
push eax
call fcn.00417669
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 0x40a915
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 0x40a93d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x40a949
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 0x40a9c8
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 0x40a99b
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 0x40aa60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40aa60
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.00405fe0
test edi, edi
je 0x40aa0c
cmp dword [esp + 0x20], 0
jne 0x40a9d6
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 0x40aa34
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 0x40aa5c
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.00416b64
add esp, 0x1040
ret