Function at 0x4073d0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
cmp dword [ebp + 0x18], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
je 0x40782c
cmp dword [ebp + 0x30], 0
je 0x40782c
cmp dword [ebp + 0x48], 0
je 0x40782c
push 0
push 0
push 0
push 0
push 0x432a2c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 1
cmovae ecx, dword [ebp + 8]
push 0
push 3
push 0
push 0
push 0x50
push ecx
push eax
mov dword [ebp - 0x64], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
mov edi, eax
cmovae esi, dword [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], edi
push 0x43647c
call fcn.00412c60
lea ecx, [ebp - 0x7c]
call fcn.00402b70
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x407478
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push 0
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 8], eax
cmp edx, 0x10
jb 0x4074c2
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4074b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d1
push edx
push ecx
call fcn.00414180
add esp, 8
cmp dword [ebp + 0x4c], 0x10
lea edi, [ebp + 0x38]
mov dword [ebp - 0x6c], 0
cmovae edi, dword [ebp + 0x38]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
push 0x435984
call fcn.00412c60
lea ecx, [ebp - 0x24]
call fcn.00402b70
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x407503
mov esi, dword [esi]
push dword [ebp + 0x48]
push edi
sub esp, 0x18
mov ecx, esp
push 0x435984
call fcn.00412c60
lea ecx, [ebp - 0x54]
call fcn.00402b70
add esp, 0x18
mov eax, dword [eax + 0x10]
push eax
push esi
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x407564
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40755a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d6
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x4075aa
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4075a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d6
push edx
push ecx
call fcn.00414180
add esp, 8
lea eax, [ebp - 4]
push eax
push 0x3ff
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407733
nop dword [eax]
cmp dword [ebp - 4], 0
je 0x407730
lea eax, [ebp - 0x480]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x24], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4075f5
sub eax, edx
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.00412fd0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], 0
cmovb ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0x10
push ecx
cmovae eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00412fd0
cmp dword [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
cmovae edx, edi
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x58], ecx
push ebx
push edx
cmp ebx, eax
ja 0x40768c
cmp dword [ebp - 0x28], 0x10
lea esi, [ebp - 0x3c]
lea eax, [ebx + ecx]
cmovae esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
lea eax, [esi + ecx]
push eax
call fcn.00415c90
mov ecx, dword [ebp - 0x58]
lea eax, [ebx + esi]
mov esi, dword [ebp - 8]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x40769f
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x5c]
push ebx
call fcn.00413690
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x4076d2
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4076c8
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d1
push ecx
push edi
call fcn.00414180
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x407706
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4076fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d1
push edx
push ecx
call fcn.00414180
add esp, 8
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x480], 0
lea eax, [ebp - 4]
push eax
push 0x3ff
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4075d0
mov ebx, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x64]
call esi
movups xmm0, xmmword [ebp - 0x3c]
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 0x3c], 0
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [ebx + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
cmp edx, 0x10
jb 0x40779d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078db
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4077e3
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078db
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x4078c8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078db
jmp 0x4078be
push 0
push 0x431e4b
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.00412fd0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x407879
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40786f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078db
push edx
push ecx
call fcn.00414180
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4077e3
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078db
jmp 0x4077d9
push edx
push ecx
call fcn.00414180
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004188f4
call fcn.004188f4
call fcn.004188f4
int3