Function at 0x4077d0
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
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x430], edi
je 0x407be4
cmp dword [ebp + 0x30], 0
je 0x407be4
cmp dword [ebp + 0x48], 0
je 0x407be4
xor esi, esi
mov byte [ebp - 0x424], 0
push esi
push esi
push esi
push esi
mov ebx, 0xf
mov dword [ebp - 0x414], esi
push 0x42eef4
mov dword [ebp - 0x410], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
mov ecx, eax
push 1
push esi
push 3
push esi
push esi
lea eax, [ebp + 8]
mov dword [ebp - 0x438], ecx
cmovae eax, dword [ebp + 8]
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x434], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40c], eax
push 0x4323fc
call fcn.00413990
lea ecx, [ebp - 0x450]
call fcn.00402910
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x407895
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push 0
push dword [ebp - 0x40c]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], eax
cmp edx, 0x10
jb 0x4078f2
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4078e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c93
push edx
push ecx
call fcn.004152ae
add esp, 8
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x440], esi
cmovae eax, dword [ebp + 0x38]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 0x450], 0
mov dword [ebp - 0x42c], eax
push 0x431994
call fcn.00413990
lea ecx, [ebp - 0x468]
call fcn.00402910
add esp, 0x18
mov dword [ebp - 0x40c], eax
cmp dword [eax + 0x14], 0x10
jb 0x407947
mov eax, dword [eax]
mov dword [ebp - 0x40c], eax
push dword [ebp + 0x48]
push dword [ebp - 0x42c]
sub esp, 0x18
mov ecx, esp
push 0x431994
call fcn.00413990
lea ecx, [ebp - 0x480]
call fcn.00402910
add esp, 0x18
mov eax, dword [eax + 0x10]
push eax
push dword [ebp - 0x40c]
push dword [ebp - 0x428]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x4079bd
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4079b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c98
push edx
push ecx
call fcn.004152ae
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], ebx
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x407a0a
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407a00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c98
push edx
push ecx
call fcn.004152ae
add esp, 8
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407aec
mov edi, dword [ebp - 0x40c]
test edi, edi
je 0x407ae6
mov eax, ebx
sub eax, esi
push edi
cmp edi, eax
ja 0x407a79
lea eax, [esi + edi]
cmp ebx, 0x10
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x424]
cmovae eax, dword [ebp - 0x424]
add esi, eax
lea eax, [ebp - 0x408]
push eax
push esi
call fcn.00416c90
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x407a99
lea eax, [ebp - 0x408]
mov byte [ebp - 0x42c], 0
push eax
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
push edi
call fcn.00414440
mov eax, dword [ebp - 0x40c]
cmp eax, 0x400
jae 0x407c9d
mov byte [ebp + eax - 0x408], 0
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x407ae6
mov ebx, dword [ebp - 0x410]
mov esi, dword [ebp - 0x414]
jmp 0x407a31
mov edi, dword [ebp - 0x430]
push dword [ebp - 0x428]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x434]
call esi
push dword [ebp - 0x438]
call esi
movups xmm0, xmmword [ebp - 0x424]
mov edx, dword [ebp + 0x1c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x414]
movq qword [edi + 0x10], xmm0
cmp edx, 0x10
jb 0x407b55
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca2
push edx
push ecx
call fcn.004152ae
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 0x407b9b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca2
push edx
push ecx
call fcn.004152ae
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 0x407c80
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca2
jmp 0x407c76
push 0
push 0x42e34b
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00413cf0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x407c31
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca2
push edx
push ecx
call fcn.004152ae
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 0x407b9b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407ca2
jmp 0x407b91
push edx
push ecx
call fcn.004152ae
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414c3c
mov esp, ebp
pop ebp
ret
call fcn.004186fc
call fcn.004186fc
call fcn.00414f53
call fcn.004186fc
int3