Function at 0x417800
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, 0x6e8
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
push esi
push edi
push 6
mov ecx, ebx
mov dword [ebp - 0x6d0], ebx
call edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x60]
push 7
mov ecx, ebx
mov dword [ebp - 0x6e0], esi
call edx
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x6e8], edi
call fcn.00429860
mov esi, eax
mov ecx, edi
mov dword [ebp - 0x6d8], esi
call fcn.00429860
mov edi, eax
mov dword [ebp - 0x6d4], edi
mov ecx, 0x599d76
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417890
test dl, dl
je 0x41788c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417890
add eax, 2
add ecx, 2
test dl, dl
jne 0x417870
xor eax, eax
jmp 0x417895
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417e20
mov ecx, 0x599d76
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4178c4
test dl, dl
je 0x4178c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4178c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4178a4
xor eax, eax
jmp 0x4178c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417e20
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x6c2768
call fcn.0041fc30
push 0x11
lea ecx, [ebp - 0x55b]
push esi
push ecx
mov word [ebp - 0x567], 0x111
call fcn.00526130
push 0x11
lea edx, [ebp - 0x54a]
push edi
push edx
call fcn.00526130
push 0x11
lea eax, [ebp - 0x539]
push str.1111
push eax
call fcn.00526130
push 0x10
lea ecx, [ebp - 0x516]
push str.DSTCLIENT05
push ecx
call fcn.00526130
push 0x11
push esi
push 0x6d6ef4
call fcn.00526130
push 0x11
push edi
push 0x6d6f05
call fcn.00526130
add esp, 0x48
push 9
mov ecx, 0x6b1410
call fcn.00441450
mov edx, dword [eax + 0x350]
push 0x6b3c5c
mov ecx, 0x6b3c58
mov dword [0x6b3cec], edx
call fcn.004d0510
mov al, byte [0x6b3cec]
mov byte [ebp - 0x506], al
cmp al, 3
jne 0x417d5c
xor esi, esi
push 0x3ff
lea eax, [ebp - 0x503]
push esi
push eax
mov dword [ebp - 0x6e4], esi
mov byte [ebp - 0x504], 0
call fcn.0057a7a0
push 0xff
lea ecx, [ebp - 0x103]
push esi
push ecx
mov byte [ebp - 0x104], 0
call fcn.0057a7a0
add esp, 0x18
push esi
push esi
push esi
push esi
push str.BUDDY
mov dword [ebp - 0x6dc], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
jne 0x417a9e
push 0xff
push eax
lea edx, [ebp - 0x66b]
push edx
mov byte [ebp - 0x66c], al
call fcn.0057a7a0
add esp, 0xc
push 0x66d
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
lea eax, [ebp - 0x66c]
push str._s__004_
push eax
call fcn.0057acb0
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6b1410
call fcn.004451b0
add esp, 0x1c
push 1
mov ecx, 0x6b1410
mov edi, eax
call fcn.00441400
mov esi, eax
test esi, esi
je 0x417ebf
test edi, edi
je 0x417ebf
movzx edx, word [esi + 0x1ee]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c8]
mov ebx, dword [edi]
call fcn.0057ad70
fld dword [esi + 0x1c4]
push eax
call fcn.0057ad70
push eax
mov eax, dword [ebx + 0x24]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0x599d76
push 0x599d76
push 0
push str.www.google.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x417b82
push 0xff
push eax
lea ecx, [ebp - 0x66b]
push ecx
mov byte [ebp - 0x66c], al
call fcn.0057a7a0
add esp, 0xc
push 0x66d
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
lea edx, [ebp - 0x66c]
push str._s__005_
push edx
call fcn.0057acb0
lea eax, [ebp - 0x66c]
push eax
push 1
push 0x179c
push 0x6b1410
call fcn.004451b0
add esp, 0x1c
push 1
mov ecx, 0x6b1410
mov edi, eax
call fcn.00441400
mov esi, eax
test esi, esi
je 0x417ebf
test edi, edi
je 0x417ebf
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d0], ecx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c8]
call fcn.0057ad70
fld dword [esi + 0x1c4]
push eax
call fcn.0057ad70
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54a]
push eax
lea ecx, [ebp - 0x55b]
push ecx
lea edx, [ebp - 0x104]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.0057acb0
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x104]
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 - 0x6dc]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 0x6dc]
lea edx, [ebp - 0x6e4]
push edx
push eax
lea ecx, [ebp - 0x504]
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 - 0x504], 0x30
je 0x417caa
push 0xff
lea edx, [ebp - 0x66b]
push 0
push edx
mov byte [ebp - 0x66c], 0
call fcn.0057a7a0
add esp, 0xc
push 0x66d
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
lea eax, [ebp - 0x66c]
push str._s__001_
push eax
call fcn.0057acb0
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6b1410
call fcn.004451b0
add esp, 0x1c
push 1
mov ecx, 0x6b1410
mov edi, eax
call fcn.00441400
mov esi, eax
test esi, esi
je 0x417ebf
test edi, edi
je 0x417ebf
movzx edx, word [esi + 0x1ee]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
jmp 0x417a6c
mov ecx, dword [ebp - 0x6d8]
push 0x11
push ecx
lea edx, [ebp - 0x6bf]
push edx
mov word [ebp - 0x6cb], 0x7311
call fcn.00526130
mov eax, dword [ebp - 0x6d4]
push 0x11
push eax
lea ecx, [ebp - 0x6ae]
push ecx
call fcn.00526130
push 0x10
lea edx, [ebp - 0x67a]
push str.DSTCLIENT05
push edx
call fcn.00526130
lea eax, [ebp - 0x504]
add esp, 0x24
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417d00
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x669]
push ecx
call fcn.00526130
mov dl, byte [0x6b3cec]
mov eax, dword [0x6c23fc]
add esp, 0xc
push 0x163
lea ecx, [ebp - 0x6cc]
push ecx
mov ecx, 0x6bda68
mov byte [ebp - 0x66a], dl
mov dword [ebp - 0x6c3], eax
call fcn.00525240
mov ebx, dword [ebp - 0x6d0]
mov esi, dword [ebp - 0x6d8]
jmp 0x417d7b
mov edx, dword [0x6c23fc]
push 0x63
lea eax, [ebp - 0x568]
push eax
mov ecx, 0x6bda68
mov dword [ebp - 0x55f], edx
call fcn.00525240
push 0x11
push esi
push 0x6c1ed8
call fcn.00526130
add esp, 0xc
push 0x123
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
push 3
push 0x17a3
push 0x6b1410
call fcn.004451b0
add esp, 0x10
push 1
mov ecx, 0x6b1410
mov edi, eax
call fcn.00441400
mov esi, eax
test esi, esi
je 0x417e01
test edi, edi
je 0x417e01
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c8]
call fcn.0057ad70
fld dword [esi + 0x1c4]
push eax
call fcn.0057ad70
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 0x6d0]
push 1
mov ecx, 0x6c23c8
call fcn.0040d840
mov eax, dword [ebp - 0x6d8]
push eax
mov ecx, 0x6bba18
call fcn.004f95a0
jmp 0x417e96
push 0x16a
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
push 1
push 0x1787
push 0x6b1410
call fcn.004451b0
add esp, 0x10
push 1
mov ecx, 0x6b1410
mov edi, eax
call fcn.00441400
mov esi, eax
test esi, esi
je 0x417e96
test edi, edi
je 0x417e96
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c8]
call fcn.0057ad70
fld dword [esi + 0x1c4]
push eax
call fcn.0057ad70
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 0x6d0]
mov ecx, dword [ebp - 0x6e0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [ebp - 0x6e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 1
mov ecx, ebx
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ad52
mov esp, ebp
pop ebp
ret