Function at 0x489760
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, 0x784
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
push 6
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
push 7
mov ecx, edi
mov dword [ebp - 0x780], esi
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
push 0xf
mov ecx, edi
mov dword [ebp - 0x784], ebx
call edx
mov ecx, esi
mov dword [ebp - 0x77c], eax
call fcn.004ac420
mov ecx, ebx
mov esi, eax
call fcn.004ac420
mov ebx, eax
push 1
mov ecx, 0x604150
mov dword [ebp - 0x76c], ebx
call fcn.004c56f0
mov dword [ebp - 0x774], eax
mov ecx, 0x5cd755
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x489801
test dl, dl
je 0x4897fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x489801
add eax, 2
add ecx, 2
test dl, dl
jne 0x4897e1
xor eax, eax
jmp 0x489806
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x489df3
mov ecx, 0x5cd755
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x489835
test dl, dl
je 0x489831
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x489835
add eax, 2
add ecx, 2
test dl, dl
jne 0x489815
xor eax, eax
jmp 0x48983a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x489df3
lea ecx, [ebp - 0x5b4]
call fcn.004855c0
lea eax, [ebp - 0x549]
push eax
mov ecx, 0x6d41c0
call fcn.0047f910
lea ecx, [ebp - 0x55b]
push ecx
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x11
lea ecx, [ebp - 0x58e]
push esi
push ecx
mov dword [ebp - 0x5b1], 0x1f50206
call fcn.0040ae60
push 0x11
lea edx, [ebp - 0x57d]
push ebx
push edx
call fcn.0040ae60
push 0x11
lea eax, [ebp - 0x56c]
push str.1111
push eax
call fcn.0040ae60
push 0x10
lea ecx, [ebp - 0x528]
push str.DSTNEW20230728
push ecx
call fcn.0040ae60
push 0x10
lea edx, [ebp - 0x518]
push str._AVCGameState_
push edx
call fcn.0040ae60
push 0x11
push esi
push 0x6da244
call fcn.0040ae60
add esp, 0x48
push 0x11
push ebx
push 0x6da255
call fcn.0040ae60
mov ecx, dword [ebp - 0x774]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
add esp, 0xc
push 0x357
call edx
cmp dword [eax + 0x2f4], 0
mov ecx, 0x604150
je 0x489916
push ebx
push esi
push 1
jmp 0x489922
push 0x5cd755
push 0x5cd755
push 0
call fcn.004c5b50
push 9
mov ecx, 0x604150
call fcn.004c5740
mov eax, dword [eax + 0x388]
push 0x60ccac
mov ecx, 0x60cca8
mov dword [0x60cd3c], eax
call fcn.0053a210
mov al, byte [0x60cd3c]
mov byte [ebp - 0x508], al
cmp al, 3
jne 0x489d19
xor ebx, ebx
push 0x3ff
lea ecx, [ebp - 0x503]
push ebx
push ecx
mov dword [ebp - 0x778], ebx
mov byte [ebp - 0x504], bl
call fcn.00599ee0
push 0xff
lea edx, [ebp - 0x103]
push ebx
push edx
mov byte [ebp - 0x104], bl
call fcn.00599ee0
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
push str.BUDDY
mov dword [ebp - 0x774], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x768], eax
cmp eax, ebx
jne 0x489a7a
push 0xff
lea eax, [ebp - 0x6b7]
push ebx
push eax
mov byte [ebp - 0x6b8], bl
call fcn.00599ee0
add esp, 0xc
push 0x66d
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
lea ecx, [ebp - 0x6b8]
push str._s__004_
push ecx
call fcn.0059a4c2
lea edx, [ebp - 0x6b8]
push edx
push 1
push 0xfcf
push 0x604150
call fcn.004c9140
add esp, 0x1c
push 1
mov ecx, 0x604150
mov edi, eax
call fcn.004c56f0
mov esi, eax
cmp esi, ebx
je 0x489ea6
cmp edi, ebx
je 0x489ea6
movzx eax, word [esi + 0x226]
mov dword [ebp - 0x770], eax
fild dword [ebp - 0x770]
fadd dword [esi + 0x1e8]
mov ebx, dword [edi]
call fcn.0059a110
fld dword [esi + 0x1e4]
push eax
call fcn.0059a110
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.00599821
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push 3
push 0x5cd755
push 0x5cd755
push ebx
push str.www.google.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
mov dword [ebp - 0x770], ebx
test ebx, ebx
jne 0x489b34
push 0xff
push eax
mov byte [ebp - 0x6b8], al
lea eax, [ebp - 0x6b7]
push eax
call fcn.00599ee0
add esp, 0xc
push 0x66d
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
lea ecx, [ebp - 0x6b8]
push str._s__005_
push ecx
call fcn.0059a4c2
lea edx, [ebp - 0x6b8]
push edx
push 1
push 0xfcf
push 0x604150
call fcn.004c9140
add esp, 0x1c
push 1
mov ecx, 0x604150
mov edi, eax
call fcn.004c56f0
mov esi, eax
test esi, esi
je 0x489ea6
test edi, edi
je 0x489ea6
movzx eax, word [esi + 0x226]
mov dword [ebp - 0x770], eax
fild dword [ebp - 0x770]
jmp 0x489a48
lea eax, [ebp - 0x57d]
push eax
lea ecx, [ebp - 0x58e]
push ecx
lea edx, [ebp - 0x104]
push str.Auth_AuthUsrInfoChk.aspx_USRID_sUSRPWD_s
push edx
call fcn.0059a4c2
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov ebx, eax
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push 0
push 0
lea ecx, [ebp - 0x774]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [ebp - 0x774]
lea edx, [ebp - 0x778]
push edx
push eax
lea ecx, [ebp - 0x504]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [ebp - 0x770]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call ebx
mov eax, dword [ebp - 0x768]
push eax
call ebx
cmp byte [ebp - 0x504], 0x30
je 0x489c68
push 0xff
lea ecx, [ebp - 0x6b7]
push 0
push ecx
mov byte [ebp - 0x6b8], 0
call fcn.00599ee0
add esp, 0xc
push 0x66d
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
lea edx, [ebp - 0x6b8]
push str._s__001_
push edx
call fcn.0059a4c2
lea eax, [ebp - 0x6b8]
push eax
push 1
push 0xfcf
push 0x604150
call fcn.004c9140
add esp, 0x1c
push 1
mov ecx, 0x604150
mov edi, eax
call fcn.004c56f0
mov esi, eax
test esi, esi
je 0x489ea6
test edi, edi
je 0x489ea6
movzx ecx, word [esi + 0x226]
mov dword [ebp - 0x768], ecx
fild dword [ebp - 0x768]
jmp 0x489a48
lea ecx, [ebp - 0x764]
call fcn.004855c0
push 0x11
lea edx, [ebp - 0x73e]
push esi
push edx
mov dword [ebp - 0x761], 0x2620206
call fcn.0040ae60
mov eax, dword [ebp - 0x76c]
push 0x11
push eax
lea ecx, [ebp - 0x72d]
push ecx
call fcn.0040ae60
push 0x10
lea edx, [ebp - 0x6d8]
push str.DSTNEW20230728
push edx
call fcn.0040ae60
push 0x10
lea eax, [ebp - 0x6c8]
push str._AVCGameState_
push eax
call fcn.0040ae60
lea eax, [ebp - 0x504]
add esp, 0x30
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x489cd3
sub eax, edx
inc eax
push eax
lea ecx, [ebp - 0x504]
push ecx
lea edx, [ebp - 0x6b7]
push edx
call fcn.0040ae60
mov al, byte [0x60cd3c]
mov ecx, dword [0x6d7294]
add esp, 0xc
push 0x1ad
lea edx, [ebp - 0x764]
mov byte [ebp - 0x6b8], al
mov dword [ebp - 0x742], ecx
push edx
jmp 0x489d30
mov eax, dword [0x6d7294]
push 0xad
lea ecx, [ebp - 0x5b4]
mov dword [ebp - 0x592], eax
push ecx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, dword [0x6d44cc]
push esi
call fcn.004f9b50
push 0x11
push esi
push 0x6d7ab4
call fcn.0040ae60
add esp, 0xc
push 0x123
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 3
push 0xfd7
push 0x604150
call fcn.004c9140
add esp, 0x10
mov ebx, eax
push 1
mov ecx, 0x604150
mov dword [ebp - 0x778], ebx
call fcn.004c56f0
mov dword [ebp - 0x768], eax
test eax, eax
je 0x489dda
test ebx, ebx
je 0x489dda
movzx edx, word [eax + 0x226]
mov ebx, dword [ebx]
mov dword [ebp - 0x76c], edx
fild dword [ebp - 0x76c]
fadd dword [eax + 0x1e8]
call fcn.0059a110
push eax
mov eax, dword [ebp - 0x768]
fld dword [eax + 0x1e4]
call fcn.0059a110
mov ecx, dword [ebp - 0x778]
mov edx, dword [ebx + 0x24]
push eax
call edx
push 1
mov ecx, 0x6d7260
call fcn.00500390
push esi
mov ecx, 0x60eb90
call fcn.0058ec20
jmp 0x489e6d
push 0x16a
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 1
push 0xfb9
push 0x604150
call fcn.004c9140
add esp, 0x10
mov ebx, eax
push 1
mov ecx, 0x604150
mov dword [ebp - 0x768], ebx
call fcn.004c56f0
mov esi, eax
test esi, esi
je 0x489e6d
test ebx, ebx
je 0x489e6d
movzx eax, word [esi + 0x226]
mov ebx, dword [ebx]
mov dword [ebp - 0x76c], eax
fild dword [ebp - 0x76c]
fadd dword [esi + 0x1e8]
call fcn.0059a110
fld dword [esi + 0x1e4]
push eax
call fcn.0059a110
mov ecx, dword [ebp - 0x768]
mov edx, dword [ebx + 0x24]
push eax
call edx
mov ecx, dword [ebp - 0x77c]
push 0x5caa38
call fcn.004c2a20
mov ecx, dword [ebp - 0x780]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov ecx, dword [ebp - 0x784]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, edi
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599821
mov esp, ebp
pop ebp
ret