Function at 0x416cf0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6e0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push edi
push 6
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 7
mov ecx, esi
mov dword [ebp - 0x10], edi
call edx
mov esi, eax
mov ecx, edi
mov dword [ebp - 0x18], esi
call fcn.004282a0
mov ebx, eax
mov ecx, esi
mov dword [ebp - 8], ebx
call fcn.004282a0
mov esi, eax
mov dword [ebp - 4], esi
mov ecx, 0x596783
mov eax, ebx
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416d60
test dl, dl
je 0x416d5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416d60
add eax, 2
add ecx, 2
test dl, dl
jne 0x416d40
xor eax, eax
jmp 0x416d65
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x417278
mov ecx, 0x596796
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416d96
test dl, dl
je 0x416d92
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416d96
add eax, 2
add ecx, 2
test dl, dl
jne 0x416d76
xor eax, eax
jmp 0x416d9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x417278
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x6c8290
call fcn.0041e750
push 0x11
lea ecx, [ebp - 0x6f]
push ebx
push ecx
mov word [ebp - 0x7b], 0x111
call fcn.0051bcc0
push 0x11
lea edx, [ebp - 0x5e]
push esi
push edx
call fcn.0051bcc0
push 0x11
lea eax, [ebp - 0x4d]
push 0x597520
push eax
call fcn.0051bcc0
push 0x10
lea ecx, [ebp - 0x2a]
push str.DSTCLIENT002
push ecx
call fcn.0051bcc0
push 0x11
push ebx
push 0x6e503c
call fcn.0051bcc0
push 0x11
push esi
push 0x6e504d
call fcn.0051bcc0
add esp, 0x48
push 9
mov ecx, 0x6d5870
call fcn.0043f210
mov edx, dword [eax + 0x350]
push 0x6d8014
mov ecx, 0x6d8010
mov dword [0x6d80a4], edx
call fcn.004c90b0
mov al, byte [0x6d80a4]
mov byte [ebp - 0x1a], al
cmp al, 3
jne 0x4171c9
push 0x3ff
lea eax, [ebp - 0x6df]
push edi
push eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x6e0], 0
call fcn.0056e7c0
push 0xff
lea ecx, [ebp - 0x2df]
push edi
push ecx
mov byte [ebp - 0x2e0], 0
call fcn.0056e7c0
add esp, 0x18
push edi
push edi
push edi
push edi
push str.BUDDY
mov dword [ebp - 0xc], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x416f43
push 0xff
push eax
lea edx, [ebp - 0x17f]
push edx
mov byte [ebp - 0x180], al
call fcn.0056e7c0
add esp, 0xc
push 0x66d
mov ecx, 0x6d8178
call fcn.004ca5b0
push eax
lea eax, [ebp - 0x180]
push str._s__004_
push eax
call fcn.0056ecd0
lea ecx, [ebp - 0x180]
push ecx
push 1
push 0x179c
push 0x6d5870
call fcn.00442d20
add esp, 0x1c
push 1
mov ecx, 0x6d5870
mov edi, eax
call fcn.0043f1c0
mov esi, eax
test esi, esi
je 0x417306
test edi, edi
je 0x417306
movzx edx, word [esi + 0x1ee]
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
fadd dword [esi + 0x1c8]
mov ebx, dword [edi]
call fcn.0056ed80
fld dword [esi + 0x1c4]
push eax
call fcn.0056ed80
push eax
mov eax, dword [ebx + 0x24]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0x596797
push 0x5967a7
push 0
push str.www.google.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x417017
push 0xff
push eax
lea ecx, [ebp - 0x17f]
push ecx
mov byte [ebp - 0x180], al
call fcn.0056e7c0
add esp, 0xc
push 0x66d
mov ecx, 0x6d8178
call fcn.004ca5b0
push eax
lea edx, [ebp - 0x180]
push str._s__005_
push edx
call fcn.0056ecd0
lea eax, [ebp - 0x180]
push eax
push 1
push 0x179c
push 0x6d5870
call fcn.00442d20
add esp, 0x1c
push 1
mov ecx, 0x6d5870
mov edi, eax
call fcn.0043f1c0
mov esi, eax
test esi, esi
je 0x417306
test edi, edi
je 0x417306
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
fadd dword [esi + 0x1c8]
call fcn.0056ed80
fld dword [esi + 0x1c4]
push eax
call fcn.0056ed80
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x5e]
push eax
lea ecx, [ebp - 0x6f]
push ecx
lea edx, [ebp - 0x2e0]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.0056ecd0
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2e0]
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
push edx
push eax
lea ecx, [ebp - 0x6e0]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
cmp byte [ebp - 0x6e0], 0x30
je 0x41712a
push 0xff
lea edx, [ebp - 0x17f]
push 0
push edx
mov byte [ebp - 0x180], 0
call fcn.0056e7c0
add esp, 0xc
push 0x66d
mov ecx, 0x6d8178
call fcn.004ca5b0
push eax
lea eax, [ebp - 0x180]
push str._s__001_
push eax
call fcn.0056ecd0
lea ecx, [ebp - 0x180]
push ecx
push 1
push 0x179c
push 0x6d5870
call fcn.00442d20
add esp, 0x1c
push 1
mov ecx, 0x6d5870
mov edi, eax
call fcn.0043f1c0
mov esi, eax
test esi, esi
je 0x417306
test edi, edi
je 0x417306
movzx edx, word [esi + 0x1ee]
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
jmp 0x416f1b
mov ecx, dword [ebp - 8]
push 0x11
push ecx
lea edx, [ebp - 0x1d3]
push edx
mov word [ebp - 0x1df], 0x7311
call fcn.0051bcc0
mov eax, dword [ebp - 4]
push 0x11
push eax
lea ecx, [ebp - 0x1c2]
push ecx
call fcn.0051bcc0
push 0x10
lea edx, [ebp - 0x18e]
push str.DSTCLIENT002
push edx
call fcn.0051bcc0
lea eax, [ebp - 0x6e0]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417176
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x17d]
push ecx
call fcn.0051bcc0
mov dl, byte [0x6d80a4]
mov eax, dword [0x6c7f24]
add esp, 0xc
push 0x163
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, 0x6e6608
mov byte [ebp - 0x17e], dl
mov dword [ebp - 0x1d7], eax
call fcn.0051ae10
mov ebx, dword [ebp - 8]
jmp 0x4171e2
mov edx, dword [0x6c7f24]
push 0x63
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x6e6608
mov dword [ebp - 0x73], edx
call fcn.0051ae10
push 0x11
push ebx
push 0x6c79d8
call fcn.0051bcc0
add esp, 0xc
push 0x123
mov ecx, 0x6d8178
call fcn.004ca5b0
push eax
push 3
push 0x17a3
push 0x6d5870
call fcn.00442d20
add esp, 0x10
push 1
mov ecx, 0x6d5870
mov edi, eax
call fcn.0043f1c0
mov esi, eax
test esi, esi
je 0x41725f
test edi, edi
je 0x41725f
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fadd dword [esi + 0x1c8]
call fcn.0056ed80
fld dword [esi + 0x1c4]
push eax
call fcn.0056ed80
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 8]
push 1
mov ecx, 0x6c7ef0
call fcn.0040d210
push ebx
mov ecx, 0x6e3fc0
call fcn.004f1910
jmp 0x4172e2
push 0x16a
mov ecx, 0x6d8178
call fcn.004ca5b0
push eax
push 1
push 0x1787
push 0x6d5870
call fcn.00442d20
add esp, 0x10
push 1
mov ecx, 0x6d5870
mov edi, eax
call fcn.0043f1c0
mov esi, eax
test esi, esi
je 0x4172e2
test edi, edi
je 0x4172e2
movzx eax, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fadd dword [esi + 0x1c8]
call fcn.0056ed80
fld dword [esi + 0x1c4]
push eax
call fcn.0056ed80
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret