Function at 0x407430
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 0x40788c
cmp dword [ebp + 0x30], 0
je 0x40788c
cmp dword [ebp + 0x48], 0
je 0x40788c
push 0
push 0
push 0
push 0
push 0x432a24
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.00412e40
lea ecx, [ebp - 0x7c]
call fcn.00402b70
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4074d8
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 0x407522
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407931
push edx
push ecx
call fcn.004142b0
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.00412e40
lea ecx, [ebp - 0x24]
call fcn.00402b70
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x407563
mov esi, dword [esi]
push dword [ebp + 0x48]
push edi
sub esp, 0x18
mov ecx, esp
push 0x435984
call fcn.00412e40
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 0x4075c4
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4075ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407936
push edx
push ecx
call fcn.004142b0
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 0x40760a
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407600
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407936
push edx
push ecx
call fcn.004142b0
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 0x407793
nop dword [eax]
cmp dword [ebp - 4], 0
je 0x407790
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 0x407655
sub eax, edx
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.004131b0
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.004131b0
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 0x4076ec
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.00415dc0
mov ecx, dword [ebp - 0x58]
lea eax, [ebx + esi]
mov esi, dword [ebp - 8]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x4076ff
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x5c]
push ebx
call fcn.004137c0
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x407732
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x407728
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407931
push ecx
push edi
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x407766
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40775c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407931
push edx
push ecx
call fcn.004142b0
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 0x407630
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 0x4077fd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4077f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40793b
push edx
push ecx
call fcn.004142b0
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 0x407843
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40793b
push edx
push ecx
call fcn.004142b0
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 0x407928
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40791e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40793b
jmp 0x40791e
push 0
push 0x431e4b
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.004131b0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4078d9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40793b
push edx
push ecx
call fcn.004142b0
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 0x407843
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40793b
jmp 0x407839
push edx
push ecx
call fcn.004142b0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
int3