Function at 0x4169f0
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 0x4d7831
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 0x416af0
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.00431fd0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x416aa7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416e89
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
jmp 0x416e7f
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 0x416b4b
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.00437160
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x416b20
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 0x416bc1
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.00437160
inc esi
cmp esi, dword [ebp + 0x30]
jb 0x416b90
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 0x416cfd
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.00431fd0
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x416c4c
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416c42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416ca9
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416c9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416aa7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
jmp 0x416a9d
push 0
push 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], str.text_
push ecx
push 0
push 0
push esi
push 0x4ffbac
push eax
mov dword [ebp - 0x414], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x416ea6
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.00431fd0
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x416d95
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416d8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416df2
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416de8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416e43
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416e39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416e89
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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.00490dbb
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 0x416fc8
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.00431fd0
mov edx, dword [ebp - 0x420]
cmp edx, 8
jb 0x416f17
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416f0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416f74
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416aa7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
jmp 0x416a9d
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 0x4170a9
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 0x417069
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.004a8c10
mov eax, dword [ebp - 0x470]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x417089
lea eax, [ebp - 0x410]
mov byte [ebp - 0x474], 0
push eax
push dword [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x464]
call fcn.0043c3b0
cmp dword [ebp - 0x46c], 0
je 0x4170a9
mov esi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x41c]
mov edi, dword [ebp - 0x450]
jmp 0x416ff0
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 0x417114
mov ecx, dword [ebp - 0x434]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41710a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x41716d
mov ecx, dword [ebp - 0x44c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
push edx
push ecx
call fcn.0049143c
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 0x416aa7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416a9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4171bd
jmp 0x416a9d
call fcn.004b5942
int3