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

Disassembly:
push 0xffffffffffffffff
push 0x429443
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.00425ac0
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x1024], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
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 [0x44130c]
mov ebx, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, 0x44130c
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 0x401e8f
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 [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
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.00401450
test esi, esi
jne 0x401d21
xor eax, eax
jmp 0x401d35
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d26
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.00403eb0
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
xor esi, esi
call fcn.00403160
mov ecx, eax
lea eax, [esp + 0x28]
mov byte [esp + 0x1044], 2
call fcn.00403530
mov eax, dword [eax]
push str.https:__
push eax
call fcn.004198f9
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 0x401d9f
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 0x401dc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x401dd0
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 0x401e14
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 0x401e83
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 0x401e46
sub eax, edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edx, eax
call fcn.00403cd0
test esi, esi
je 0x401e6b
cmp dword [esp + 0x14], 0
jne 0x401e22
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 0x401e8f
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.00418df4
add esp, 0x1034
ret