Function at 0x4397a0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x830
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 1
push 0
push 0
push 0
push 1
push str.Mozilla_5.0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0xf
mov edi, eax
xor esi, esi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x439a13
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push esi
cmovae eax, dword [ebx + 8]
push esi
push esi
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x439a13
lea ecx, [ebp - 0x18]
push ecx
push 0x7d0
lea ecx, [ebp - 0x840]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x24]
mov eax, ecx
mov edi, dword [ebp - 0x18]
sub eax, esi
push edi
cmp edi, eax
ja 0x439890
lea eax, [esi + edi]
cmp ecx, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
add esi, eax
lea eax, [ebp - 0x840]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4398a7
lea eax, [ebp - 0x840]
mov byte [ebp - 0x6c], 0
push eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x38]
push edi
call fcn.00408c20
push 0x7d0
lea eax, [ebp - 0x840]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4398ce
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
jmp 0x439842
push dword [ebp - 0x14]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x58], 2
movups xmmword [ebp - 0x68], xmm0
mov eax, 0xa0d
mov dword [ebp - 0x54], 0xf
mov word [ebp - 0x68], ax
mov byte [ebp - 0x66], 0
movups xmmword [ebp - 0x50], xmm0
mov eax, 0x6e7c
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 0xf
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
lea esi, [ebp - 0x50]
push eax
call fcn.0040e3e0
mov edx, esi
mov esi, dword [ebp - 0x20]
mov ecx, esi
call fcn.00439610
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x43997b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439971
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x4399ab
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4399a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x4399db
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4399d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x439b2c
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439b22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x439b22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 2
movups xmmword [ebp - 0x50], xmm0
mov eax, 0xa0d
mov dword [ebp - 0x3c], 0xf
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], 0
movups xmmword [ebp - 0x68], xmm0
mov eax, 0x6e7c
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x54], 0xf
mov word [ebp - 0x68], ax
mov byte [ebp - 0x66], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
lea esi, [ebp - 0x68]
push eax
call fcn.0040e3e0
mov edx, esi
mov esi, dword [ebp - 0x20]
mov ecx, esi
call fcn.00439610
mov ecx, dword [ebp - 0x54]
add esp, 0x1c
cmp ecx, 0x10
jb 0x439ab7
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439aad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x439aeb
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439ae1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x4399db
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4399d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439a0d
jmp 0x4399d1
push ecx
push edx
call fcn.00439eff
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret