Function at 0x416200
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
push 0xffffffffffffffff
push 0x4d6d41
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x51f164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x478], edi
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x46c], edi
push 0
push 0
push 0
push 1
push str.YourUserAgent
mov dword [ebp - 4], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x416300
push 7
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.0.0.0.0
mov byte [edi], al
call fcn.00431800
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4162b7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4162ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
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 0x416699
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41668f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
jmp 0x41668f
mov eax, 7
mov dword [ebp - 0x43c], 0
xor ecx, ecx
mov dword [ebp - 0x438], eax
mov word [ebp - 0x44c], cx
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp + 0x18], esi
jbe 0x41635b
nop dword [eax]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [ebp - 0x44c]
cmovae eax, dword [ebp + 8]
movsx ax, byte [eax + esi]
movzx eax, ax
push eax
call fcn.00436950
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x416330
mov eax, dword [ebp - 0x438]
cmp eax, 8
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x44c]
mov eax, 7
cmovae ecx, dword [ebp - 0x44c]
xor edx, edx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], eax
mov word [ebp - 0x434], dx
xor esi, esi
mov byte [ebp - 4], 3
cmp dword [ebp + 0x30], esi
jbe 0x4163d1
nop word [eax + eax]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x434]
cmovae eax, dword [ebp + 0x20]
movsx ax, byte [eax + esi]
movzx eax, ax
push eax
call fcn.00436950
inc esi
cmp esi, dword [ebp + 0x30]
jb 0x4163a0
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x41c]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push dword [ebp - 0x468]
cmp eax, 8
lea esi, [ebp - 0x434]
cmovae esi, dword [ebp - 0x434]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x41650d
push 7
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.0.0.0.1
mov byte [edi], al
call fcn.00431800
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x41645c
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416452
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp - 0x438]
xor eax, eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
cmp edx, 8
jb 0x4164b9
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4164af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 0x10
jb 0x4162b7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4162ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
jmp 0x4162ad
push 0
push 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], str.text_
push ecx
push 0
push 0
push esi
push 0x4ffb3c
push eax
mov dword [ebp - 0x414], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x4166b6
push 7
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.0.0.0.2
mov byte [edi], al
call fcn.00431800
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x4165a5
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41659b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp - 0x438]
xor eax, eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
cmp edx, 8
jb 0x416602
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4165f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 0x10
jb 0x416653
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416649
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
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 0x416699
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41668f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004905bb
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4167d8
push 7
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push str.0.0.0.3
mov byte [edi], al
call fcn.00431800
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x416727
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41671d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp - 0x438]
xor eax, eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
cmp edx, 8
jb 0x416784
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41677a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 0x10
jb 0x4162b7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4162ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
jmp 0x4162ad
xor esi, esi
mov byte [ebp - 0x464], 0
mov edi, 0xf
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], edi
or eax, 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x41c], eax
nop
test eax, eax
je 0x4168b9
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x46c], eax
mov eax, edi
sub eax, esi
mov dword [ebp - 0x470], ecx
push ecx
cmp ecx, eax
ja 0x416879
lea eax, [esi + ecx]
cmp edi, 0x10
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x464]
cmovae eax, dword [ebp - 0x464]
add esi, eax
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.004a8400
mov eax, dword [ebp - 0x470]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x416899
lea eax, [ebp - 0x410]
mov byte [ebp - 0x474], 0
push eax
push dword [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x464]
call fcn.0043bba0
cmp dword [ebp - 0x46c], 0
je 0x4168b9
mov esi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x41c]
mov edi, dword [ebp - 0x450]
jmp 0x416800
mov edi, dword [ebp - 0x478]
movups xmm0, xmmword [ebp - 0x464]
mov edx, dword [ebp - 0x420]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x454]
movq qword [edi + 0x10], xmm0
cmp edx, 8
jb 0x416924
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41691a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp - 0x438]
xor eax, eax
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
cmp edx, 8
jb 0x41697d
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416973
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
push edx
push ecx
call fcn.00490c3c
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
cmp edx, 0x10
jb 0x4162b7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4162ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4169cd
jmp 0x4162ad
call fcn.004b5132
int3