Function at 0x428570
Capabilities:
Create http request
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b703
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x654]
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov dword [ebp - 0x73c], ebx
push str.http:__static.2217wy.com_plat_gamebox_images_ico_
mov dword [ebp - 0x72c], ebx
mov dword [ebp - 0x730], 0
call fcn.0042e46f
lea eax, [ebp - 0x720]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00427db0
push str..ico
lea ecx, [ebp - 0x6dc]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0042e729
push eax
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 3
call fcn.0042e79c
lea ecx, [ebp - 0x6dc]
call fcn.0042e585
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], 1
call fcn.0042e585
push 0x2f
lea ecx, [ebp - 0x654]
call fcn.0042f097
lea ecx, [ebp - 0x654]
lea esi, [eax + 1]
call fcn.0042eba3
sub eax, esi
lea ecx, [ebp - 0x654]
push eax
push esi
lea eax, [ebp - 0x698]
push eax
call fcn.0042ed6c
push 0
push 0x15
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.0042e46f
push 0x4787e0
mov ecx, ebx
mov dword [ebp - 0x730], 1
call fcn.0042e7d9
lea eax, [ebp - 0x698]
mov ecx, ebx
push eax
call fcn.0042e79c
mov ecx, ebx
call fcn.0042e701
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x734], eax
call fcn.0042e701
push 0
push 0
push 0
push 0
push str.RookIE_1.0
mov esi, eax
mov byte [ebp - 0x721], 0
mov dword [ebp - 0x728], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x738], eax
test eax, eax
je 0x4287a9
push 0
push 0x4000000
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
test edi, edi
je 0x428792
push 0x479c18
push dword [ebp - 0x734]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x42878f
cmp dword [ebp - 0x728], 0
jbe 0x42877e
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
nop dword [eax]
lea eax, [ebp - 0x728]
push eax
push 0x3ff
lea eax, [ebp - 0x610]
push eax
push edi
call ebx
push esi
push dword [ebp - 0x728]
lea eax, [ebp - 0x610]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x728], 0
ja 0x428740
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 0x721], 1
push edi
call ebx
push dword [ebp - 0x738]
call ebx
cmp byte [ebp - 0x721], 0
mov ebx, dword [ebp - 0x72c]
jne 0x4287b0
mov ecx, ebx
call fcn.0042e96b
lea ecx, [ebp - 0x698]
call fcn.0042e585
lea ecx, [ebp - 0x654]
call fcn.0042e585
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 4