Function at 0x423e30
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e0a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x38bc
call fcn.0046bef0
mov eax, dword [0x4aff50]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push 0x84000100
xor edi, edi
push edi
push edi
mov dword [esp + 0x38d4], eax
mov eax, dword [ecx]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x10], esi
jne 0x423f28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ee3
jne 0x423f01
mov dword [esp + 0xc], edi
xor eax, eax
mov byte [esp + 0xc0], 0
mov ecx, 0x3ff
lea edi, [esp + 0xc1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc4]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.WININET.dll_InternetGetLastResponseInfoA]
test eax, eax
je 0x423eeb
lea ecx, [esp + 0xc0]
push ecx
push ebx
push 0x4951f4
jmp 0x423f11
push 0x2ee3
call fcn.0041bed0
add esp, 4
push eax
push ebx
push 0x49521c
jmp 0x423f11
push eax
call fcn.0041bed0
add esp, 4
push eax
push ebx
push 0x495244
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0x14
xor eax, eax
jmp 0x424110
mov dword [esp + 0x20], esi
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0x20000013
push esi
mov dword [esp + 0x38e8], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x423f72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041bed0
add esp, 4
push eax
push ebx
push 0x49526c
jmp 0x423f84
mov eax, dword [esp + 0x18]
cmp eax, 0xc8
je 0x423fa2
push eax
push ebx
push 0x495294
push 1
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0x14
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x424110
mov dword [esp + 0x14], edi
xor eax, eax
mov byte [esp + 0x10c0], 0
mov ecx, 0x9ff
lea edi, [esp + 0x10c1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor ebx, ebx
lea ecx, [esp + 0x14]
push ecx
push 0x2800
lea edx, [esp + 0x10c8]
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x424101
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x424101
mov eax, dword [ebp + 0x10]
sub eax, ebx
cmp ecx, eax
ja 0x42402e
mov edx, dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
lea edi, [ebx + edx]
lea esi, [esp + 0x10c0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add ebx, eax
test eax, eax
je 0x4240fd
jmp 0x423fc3
push 1
push 2
lea ecx, [esp + 0x48]
call fcn.00415a50
push str.__funcxlib::HTTPClient::ReadFile_
push 0x5f
push str.__file.HttpClientHTTPClient.cpp__line
lea ecx, [esp + 0x4c]
push str.insufficient_buffer_size_when_getting_file:__s
push ecx
mov byte [esp + 0x38e8], 1
call fcn.00414b10
add esp, 8
push eax
call fcn.00414b10
add esp, 8
mov ecx, eax
call fcn.00415570
push eax
call fcn.00414b10
add esp, 8
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.00418fd0
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x38d4], 2
jb 0x42409f
mov eax, dword [eax + 4]
jmp 0x4240a2
add eax, 4
mov ecx, dword [ebp + 8]
push ecx
push eax
push 0
call fcn.00409700
push eax
call fcn.0041a2e0
add esp, 0x10
cmp dword [esp + 0x3c], edi
jb 0x4240ca
mov edx, dword [esp + 0x28]
push edx
call fcn.004826a1
add esp, 4
lea ecx, [esp + 0x8c]
mov byte [esp + 0x38d4], 0
call fcn.004143d0
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0047d779
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
neg eax
sbb eax, eax
and eax, ebx
mov ecx, dword [esp + 0x38cc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38c4]
call fcn.0046bf5e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc