Function at 0x407760
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 0x407b74
cmp dword [ebp + 0x30], 0
je 0x407b74
cmp dword [ebp + 0x48], 0
je 0x407b74
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 0x42eefc
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 0x432444
call fcn.00413b00
lea ecx, [ebp - 0x450]
call fcn.00402ac0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x407825
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 0x407882
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407878
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c23
push edx
push ecx
call fcn.0041541e
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.00413b00
lea ecx, [ebp - 0x468]
call fcn.00402ac0
add esp, 0x18
mov dword [ebp - 0x40c], eax
cmp dword [eax + 0x14], 0x10
jb 0x4078d7
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.00413b00
lea ecx, [ebp - 0x480]
call fcn.00402ac0
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 0x40794d
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407943
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c28
push edx
push ecx
call fcn.0041541e
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 0x40799a
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407990
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c28
push edx
push ecx
call fcn.0041541e
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 0x407a7c
mov edi, dword [ebp - 0x40c]
test edi, edi
je 0x407a76
mov eax, ebx
sub eax, esi
push edi
cmp edi, eax
ja 0x407a09
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.00416e00
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x407a29
lea eax, [ebp - 0x408]
mov byte [ebp - 0x42c], 0
push eax
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x424]
push edi
call fcn.004145b0
mov eax, dword [ebp - 0x40c]
cmp eax, 0x400
jae 0x407c2d
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 0x407a76
mov ebx, dword [ebp - 0x410]
mov esi, dword [ebp - 0x414]
jmp 0x4079c1
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 0x407ae5
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407adb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c32
push edx
push ecx
call fcn.0041541e
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 0x407b2b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c32
push edx
push ecx
call fcn.0041541e
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 0x407c10
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c32
jmp 0x407c06
push 0
push 0x42e35b
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00413e60
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x407bc1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407bb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c32
push edx
push ecx
call fcn.0041541e
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 0x407b2b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407b21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c32
jmp 0x407b21
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
call fcn.0041886c
call fcn.004150c3
call fcn.0041886c
int3