Function at 0x4172a0
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 [0x6d005c]
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.004299c0
mov esi, eax
mov ecx, edi
mov dword [ebp - 0x6d8], esi
call fcn.004299c0
mov edi, eax
mov dword [ebp - 0x6d4], edi
mov ecx, 0x5a6b5b
mov eax, esi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417330
test dl, dl
je 0x41732c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417330
add eax, 2
add ecx, 2
test dl, dl
jne 0x417310
xor eax, eax
jmp 0x417335
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4178c0
mov ecx, 0x5a6b5b
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x417364
test dl, dl
je 0x417360
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x417364
add eax, 2
add ecx, 2
test dl, dl
jne 0x417344
xor eax, eax
jmp 0x417369
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4178c0
lea eax, [ebp - 0x528]
push eax
mov ecx, 0x6d2280
call fcn.0041f8f0
push 0x11
lea ecx, [ebp - 0x55b]
push esi
push ecx
mov word [ebp - 0x567], 0x111
call fcn.00525190
push 0x11
lea edx, [ebp - 0x54a]
push edi
push edx
call fcn.00525190
push 0x11
lea eax, [ebp - 0x539]
push str.1111
push eax
call fcn.00525190
push 0x10
lea ecx, [ebp - 0x516]
push str.MSOTHAI000001
push ecx
call fcn.00525190
push 0x11
push esi
push 0x6eee8c
call fcn.00525190
push 0x11
push edi
push 0x6eee9d
call fcn.00525190
add esp, 0x48
push 9
mov ecx, 0x6df860
call fcn.00441d70
mov edx, dword [eax + 0x340]
push 0x6e1e74
mov ecx, 0x6e1e70
mov dword [0x6e1f04], edx
call fcn.004cf5b0
mov al, byte [0x6e1f04]
mov byte [ebp - 0x506], al
cmp al, 3
jne 0x4177fc
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.0057a0c0
push 0xff
lea ecx, [ebp - 0x103]
push esi
push ecx
mov byte [ebp - 0x104], 0
call fcn.0057a0c0
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 0x41753e
push 0xff
push eax
lea edx, [ebp - 0x66b]
push edx
mov byte [ebp - 0x66c], al
call fcn.0057a0c0
add esp, 0xc
push 0x66d
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
lea eax, [ebp - 0x66c]
push str._s__004_
push eax
call fcn.0057a74f
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6df860
call fcn.00445890
add esp, 0x1c
push 1
mov ecx, 0x6df860
mov edi, eax
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x41795f
test edi, edi
je 0x41795f
movzx edx, word [esi + 0x1e8]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c2]
mov ebx, dword [edi]
call fcn.0057aa60
fld dword [esi + 0x1be]
push eax
call fcn.0057aa60
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.0057a0a3
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0x5a6b5b
push 0x5a6b5b
push 0
push str.www.google.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
jne 0x417622
push 0xff
push eax
lea ecx, [ebp - 0x66b]
push ecx
mov byte [ebp - 0x66c], al
call fcn.0057a0c0
add esp, 0xc
push 0x66d
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
lea edx, [ebp - 0x66c]
push str._s__005_
push edx
call fcn.0057a74f
lea eax, [ebp - 0x66c]
push eax
push 1
push 0x179c
push 0x6df860
call fcn.00445890
add esp, 0x1c
push 1
mov ecx, 0x6df860
mov edi, eax
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x41795f
test edi, edi
je 0x41795f
movzx ecx, word [esi + 0x1e8]
mov ebx, dword [edi]
mov dword [ebp - 0x6d0], ecx
fild dword [ebp - 0x6d0]
fadd dword [esi + 0x1c2]
call fcn.0057aa60
fld dword [esi + 0x1be]
push eax
call fcn.0057aa60
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.0057a0a3
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.0057a74f
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 0x41774a
push 0xff
lea edx, [ebp - 0x66b]
push 0
push edx
mov byte [ebp - 0x66c], 0
call fcn.0057a0c0
add esp, 0xc
push 0x66d
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
lea eax, [ebp - 0x66c]
push str._s__001_
push eax
call fcn.0057a74f
lea ecx, [ebp - 0x66c]
push ecx
push 1
push 0x179c
push 0x6df860
call fcn.00445890
add esp, 0x1c
push 1
mov ecx, 0x6df860
mov edi, eax
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x41795f
test edi, edi
je 0x41795f
movzx edx, word [esi + 0x1e8]
mov dword [ebp - 0x6d0], edx
fild dword [ebp - 0x6d0]
jmp 0x41750c
mov ecx, dword [ebp - 0x6d8]
push 0x11
push ecx
lea edx, [ebp - 0x6bf]
push edx
mov word [ebp - 0x6cb], 0x7311
call fcn.00525190
mov eax, dword [ebp - 0x6d4]
push 0x11
push eax
lea ecx, [ebp - 0x6ae]
push ecx
call fcn.00525190
push 0x10
lea edx, [ebp - 0x67a]
push str.MSOTHAI000001
push edx
call fcn.00525190
lea eax, [ebp - 0x504]
add esp, 0x24
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4177a0
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x669]
push ecx
call fcn.00525190
mov dl, byte [0x6e1f04]
mov eax, dword [0x6d1f22]
add esp, 0xc
push 0x163
lea ecx, [ebp - 0x6cc]
push ecx
mov ecx, 0x6f0448
mov byte [ebp - 0x66a], dl
mov dword [ebp - 0x6c3], eax
call fcn.00523ca0
mov ebx, dword [ebp - 0x6d0]
mov esi, dword [ebp - 0x6d8]
jmp 0x41781b
mov edx, dword [0x6d1f22]
push 0x63
lea eax, [ebp - 0x568]
push eax
mov ecx, 0x6f0448
mov dword [ebp - 0x55f], edx
call fcn.00523ca0
push 0x11
push esi
push 0x6d17a8
call fcn.00525190
add esp, 0xc
push 0x123
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
push 3
push 0x17a3
push 0x6df860
call fcn.00445890
add esp, 0x10
push 1
mov ecx, 0x6df860
mov edi, eax
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x4178a1
test edi, edi
je 0x4178a1
movzx ecx, word [esi + 0x1e8]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c2]
call fcn.0057aa60
fld dword [esi + 0x1be]
push eax
call fcn.0057aa60
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
mov ebx, dword [ebp - 0x6d0]
push 1
mov ecx, 0x6d1ef0
call fcn.0040d2e0
mov eax, dword [ebp - 0x6d8]
push eax
mov ecx, 0x6ede20
call fcn.004f8c60
jmp 0x417936
push 0x16a
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
push 1
push 0x1787
push 0x6df860
call fcn.00445890
add esp, 0x10
push 1
mov ecx, 0x6df860
mov edi, eax
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x417936
test edi, edi
je 0x417936
movzx ecx, word [esi + 0x1e8]
mov ebx, dword [edi]
mov dword [ebp - 0x6d4], ecx
fild dword [ebp - 0x6d4]
fadd dword [esi + 0x1c2]
call fcn.0057aa60
fld dword [esi + 0x1be]
push eax
call fcn.0057aa60
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.0057a0a3
mov esp, ebp
pop ebp
ret