Function at 0x4176e0
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:
sub esp, 0x6e4
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x6e0], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6f4]
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
push esi
push edi
push 6
mov ecx, ebp
mov dword [esp + 0x14], ebp
call edx
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
push 7
mov ecx, ebp
mov dword [esp + 0x20], esi
call edx
mov edi, eax
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.0042a310
mov ecx, edi
mov ebx, eax
call fcn.0042a310
mov esi, eax
mov dword [esp + 0x14], esi
mov ecx, 0x5b1b0b
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417764
test dl, dl
je 0x417760
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417764
add eax, 2
add ecx, 2
test dl, dl
jne 0x417744
xor eax, eax
jmp 0x417769
sbb eax, eax
sbb eax, 0xffffffff
xor edi, edi
cmp eax, edi
je 0x417cbe
mov ecx, 0x5b1b0b
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4177a0
test dl, dl
je 0x41779c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4177a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x417780
xor eax, eax
jmp 0x4177a5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x417cbe
lea eax, [esp + 0x68]
push eax
mov ecx, 0x6e72c8
call fcn.0041fb30
push 0x11
lea ecx, [esp + 0x39]
push ebx
push ecx
mov word [esp + 0x35], 0x111
call fcn.0052b8b0
push 0x11
lea edx, [esp + 0x56]
push esi
push edx
call fcn.0052b8b0
push 0x11
lea eax, [esp + 0x73]
push str.1111
push eax
call fcn.0052b8b0
push 0x10
lea ecx, [esp + 0xa2]
push str.DSTCLIENT05
push ecx
call fcn.0052b8b0
push 0x11
push ebx
push 0x6fbaac
call fcn.0052b8b0
push 0x11
push esi
push 0x6fbabd
call fcn.0052b8b0
add esp, 0x48
push 9
mov ecx, 0x6d6410
call fcn.00442430
mov edx, dword [eax + 0x350]
push 0x6d8c5c
mov ecx, 0x6d8c58
mov dword [0x6d8cec], edx
call fcn.004d3cb0
mov al, byte [0x6d8cec]
mov byte [esp + 0x8a], al
cmp al, 3
jne 0x417c0a
push 0x3ff
lea eax, [esp + 0x2f5]
push edi
push eax
mov dword [esp + 0x2c], edi
mov byte [esp + 0x2fc], 0
call fcn.005825d0
push 0xff
lea ecx, [esp + 0x201]
push edi
push ecx
mov byte [esp + 0x208], 0
call fcn.005825d0
add esp, 0x18
push edi
push edi
push edi
push edi
push str.BUDDY
mov dword [esp + 0x2c], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
jne 0x417964
push 0xff
push eax
lea edx, [esp + 0x95]
push edx
mov byte [esp + 0x98], al
call fcn.005825d0
add esp, 0xc
push 0x66d
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
lea eax, [esp + 0x90]
push str._s__004_
push eax
call fcn.00582c5f
lea ecx, [esp + 0x98]
push ecx
push 1
push 0x179c
push 0x6d6410
call fcn.00446260
add esp, 0x1c
push 1
mov ecx, 0x6d6410
mov edi, eax
call fcn.004423e0
mov esi, eax
test esi, esi
je 0x417d50
test edi, edi
je 0x417d50
movzx edx, word [esi + 0x1ee]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fadd dword [esi + 0x1c8]
mov ebx, dword [edi]
call fcn.00582f70
fld dword [esi + 0x1c4]
push eax
call fcn.00582f70
push eax
mov eax, dword [ebx + 0x24]
mov ecx, edi
call eax
jmp 0x417d50
push 0
push 0
push 3
push 0x5b1b0b
push 0x5b1b0b
push 0
push str.www.google.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x417a3c
push 0xff
push eax
lea ecx, [esp + 0x95]
push ecx
mov byte [esp + 0x98], al
call fcn.005825d0
add esp, 0xc
push 0x66d
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
lea edx, [esp + 0x90]
push str._s__005_
push edx
call fcn.00582c5f
lea eax, [esp + 0x98]
push eax
push 1
push 0x179c
push 0x6d6410
call fcn.00446260
add esp, 0x1c
push 1
mov ecx, 0x6d6410
mov edi, eax
call fcn.004423e0
mov esi, eax
test esi, esi
je 0x417d50
test edi, edi
je 0x417d50
movzx ecx, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fadd dword [esi + 0x1c8]
call fcn.00582f70
fld dword [esi + 0x1c4]
push eax
call fcn.00582f70
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
jmp 0x417d50
lea eax, [esp + 0x46]
push eax
lea ecx, [esp + 0x39]
push ecx
lea edx, [esp + 0x1f8]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.00582c5f
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x204]
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, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x2f8]
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
cmp byte [esp + 0x2f0], 0x30
je 0x417b5e
push 0xff
lea edx, [esp + 0x91]
push 0
push edx
mov byte [esp + 0x98], 0
call fcn.005825d0
add esp, 0xc
push 0x66d
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
lea eax, [esp + 0x90]
push str._s__001_
push eax
call fcn.00582c5f
lea ecx, [esp + 0x98]
push ecx
push 1
push 0x179c
push 0x6d6410
call fcn.00446260
add esp, 0x1c
push 1
mov ecx, 0x6d6410
mov edi, eax
call fcn.004423e0
mov esi, eax
test esi, esi
je 0x417d50
test edi, edi
je 0x417d50
movzx edx, word [esi + 0x1ee]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x41793e
push 0x11
lea ecx, [esp + 0x9d]
push ebx
push ecx
mov word [esp + 0x99], 0x7311
call fcn.0052b8b0
mov edx, dword [esp + 0x20]
push 0x11
push edx
lea eax, [esp + 0xbe]
push eax
call fcn.0052b8b0
push 0x10
lea ecx, [esp + 0xfa]
push str.DSTCLIENT05
push ecx
call fcn.0052b8b0
lea eax, [esp + 0x314]
add esp, 0x24
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417bb0
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x2f4]
push edx
lea eax, [esp + 0xf7]
push eax
call fcn.0052b8b0
mov cl, byte [0x6d8cec]
mov edx, dword [0x6e6f5c]
add esp, 0xc
push 0x163
lea eax, [esp + 0x90]
mov byte [esp + 0xf2], cl
push eax
mov ecx, 0x6e25d0
mov dword [esp + 0x9d], edx
call fcn.0052a1c0
mov ebp, dword [esp + 0x10]
jmp 0x417c25
mov ecx, dword [0x6e6f5c]
push 0x63
lea edx, [esp + 0x2c]
mov dword [esp + 0x35], ecx
push edx
mov ecx, 0x6e25d0
call fcn.0052a1c0
push 0x11
push ebx
push 0x6e6808
call fcn.0052b8b0
add esp, 0xc
push 0x123
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
push 3
push 0x17a3
push 0x6d6410
call fcn.00446260
add esp, 0x10
push 1
mov ecx, 0x6d6410
mov edi, eax
call fcn.004423e0
mov esi, eax
test esi, esi
je 0x417ca5
test edi, edi
je 0x417ca5
movzx eax, word [esi + 0x1ee]
mov ebp, dword [edi]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd dword [esi + 0x1c8]
call fcn.00582f70
fld dword [esi + 0x1c4]
push eax
call fcn.00582f70
mov edx, dword [ebp + 0x24]
push eax
mov ecx, edi
call edx
mov ebp, dword [esp + 0x10]
push 1
mov ecx, 0x6e6f28
call fcn.0040d450
push ebx
mov ecx, 0x6e0a18
call fcn.004feca0
jmp 0x417d2a
push 0x16a
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
push 1
push 0x1787
push 0x6d6410
call fcn.00446260
add esp, 0x10
push 1
mov ecx, 0x6d6410
mov edi, eax
call fcn.004423e0
mov esi, eax
test esi, esi
je 0x417d2a
test edi, edi
je 0x417d2a
movzx eax, word [esi + 0x1ee]
mov ebx, dword [edi]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fadd dword [esi + 0x1c8]
call fcn.00582f70
fld dword [esi + 0x1c4]
push eax
call fcn.00582f70
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push 1
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x6f0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005825b3
add esp, 0x6e4
ret