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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4394cd
mov eax, dword fs:[0]
push eax
mov eax, 0x110c
call fcn.0041a350
mov eax, dword [0x448080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1100], edx
mov edi, ecx
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x10d0], 0
push 0x4426ac
lea ecx, [ebp - 0x10e0]
mov dword [ebp - 0x10cc], 0
movups xmmword [ebp - 0x10e0], xmm0
call fcn.0040a2f0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10e0]
mov dword [ebp - 4], 0
call fcn.0040c100
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x10cc]
mov dword [ebp - 0x10e4], esi
cmp ecx, 7
jbe 0x416169
mov edx, dword [ebp - 0x10e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41615f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166f3
push ecx
push edx
call fcn.0041936d
add esp, 8
test esi, esi
jne 0x416287
push 0x1f
xorps xmm0, xmm0
mov dword [ebp - 0x10ec], esi
push 0x442dc0
lea ecx, [ebp - 0x10fc]
mov dword [ebp - 0x10e8], esi
movups xmmword [ebp - 0x10fc], xmm0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x10fc]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10e0]
call fcn.004029f0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10e0]
cmp dword [ebp - 0x10cc], 7
mov ecx, 0x4494e8
push dword [ebp - 0x10d0]
cmova edx, dword [ebp - 0x10e0]
call fcn.0040bb30
push eax
call fcn.00409b30
mov ecx, dword [ebp - 0x10cc]
add esp, 0xc
cmp ecx, 7
jbe 0x416223
mov edx, dword [ebp - 0x10e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416219
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166f8
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp - 0x10e8]
xor eax, eax
mov dword [ebp - 0x10d0], 0
mov dword [ebp - 0x10cc], 7
mov word [ebp - 0x10e0], ax
cmp ecx, 7
jbe 0x416280
mov edx, dword [ebp - 0x10fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416276
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166f8
push ecx
push edx
call fcn.0041936d
add esp, 8
xor al, al
jmp 0x4166d8
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x416291
mov eax, dword [edi]
push 0
push SysReAllocString
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x4163e8
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x10ec], eax
push 0x442e00
lea ecx, [ebp - 0x10fc]
mov dword [ebp - 0x10e8], eax
movups xmmword [ebp - 0x10fc], xmm0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x10fc]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10e0]
call fcn.004029f0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x10e0]
cmp dword [ebp - 0x10cc], 7
mov ecx, 0x4494e8
push dword [ebp - 0x10d0]
cmova edx, dword [ebp - 0x10e0]
call fcn.0040bb30
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 7
jbe 0x416325
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0040bb30
push eax
call fcn.00409b30
mov ecx, dword [ebp - 0x10cc]
add esp, 8
cmp ecx, 7
jbe 0x416378
mov edx, dword [ebp - 0x10e0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41636e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166fd
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp - 0x10e8]
xor eax, eax
mov dword [ebp - 0x10d0], 0
mov dword [ebp - 0x10cc], 7
mov word [ebp - 0x10e0], ax
cmp ecx, 7
jbe 0x4163d5
mov edx, dword [ebp - 0x10fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4163cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166fd
push ecx
push edx
call fcn.0041936d
add esp, 8
push dword [ebp - 0x10e4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x4166d8
push 0xb0
lea eax, [ebp - 0x10c4]
push 0
push eax
call fcn.0041af90
mov edi, dword [ebp - 0x1100]
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x41640e
mov eax, dword [edi]
sub esp, 0xc
lea ecx, [ebp - 0x10c4]
push eax
call fcn.00408640
mov eax, dword [ebp - 0x10c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c8], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x1074], 0
jne 0x4165a9
push 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x10ec], 0
push 0x442e2c
lea ecx, [ebp - 0x10fc]
mov dword [ebp - 0x10e8], 0
movups xmmword [ebp - 0x10fc], xmm0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x10fc]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1118]
call fcn.004029f0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x1118]
cmp dword [ebp - 0x1104], 7
mov ecx, 0x4494e8
push dword [ebp - 0x1108]
cmova edx, dword [ebp - 0x1118]
call fcn.0040bb30
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 7
jbe 0x4164d4
mov edi, dword [edi]
push ecx
mov edx, edi
mov ecx, eax
call fcn.0040bb30
push eax
call fcn.00409b30
mov byte [ebp - 4], 6
add esp, 8
mov ecx, dword [ebp - 0x1104]
cmp ecx, 7
jbe 0x41652b
mov edx, dword [ebp - 0x1118]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416521
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416702
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10e8]
mov dword [ebp - 0x1108], 0
mov dword [ebp - 0x1104], 7
mov word [ebp - 0x1118], ax
cmp ecx, 7
jbe 0x41658c
mov edx, dword [ebp - 0x10fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416582
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416702
push ecx
push edx
call fcn.0041936d
add esp, 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10e4]
call esi
mov byte [ebp - 0x10c5], 0
jmp 0x416659
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call edi
test eax, eax
je 0x416609
nop dword [eax]
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x416609
push 0
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x10c4]
call fcn.00406e00
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call edi
test eax, eax
jne 0x4165d0
lea ecx, [ebp - 0x10c0]
call fcn.00408560
test eax, eax
jne 0x416641
mov eax, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x10c4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004027f0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10e4]
call esi
mov byte [ebp - 0x10c5], 1
mov eax, dword [ebp - 0x10c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c8], eax
lea ecx, [ebp - 0x10c0]
call fcn.00406a90
mov eax, dword [ebp - 0x10c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x10c4]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0x10c8], ecx
lea eax, [ebp - 0x105c]
mov dword [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00418673
mov al, byte [ebp - 0x10c5]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419325
mov esp, ebp
pop ebp
ret
call fcn.00421825
call fcn.00421825
call fcn.00421825
call fcn.00421825
int3