Function at 0x4a0360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x181c
call fcn.00479ee0
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1818], ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_rocket.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x181c], eax
cmp dword [ebp - 0x181c], 0x480
jne 0x4a03b1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1818]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, 1
jmp 0x4a05ea
mov dword [ebp - 0x1810], 0x200
mov edx, dword [ebp - 0x1810]
push edx
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.00432e20
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call sym.Install_rocket.exe_public:_static_bool___cdecl_CNsSysInfo::GetCPUID_wchar_t__
add esp, 4
mov edx, dword [ebp - 0x1810]
push edx
push 0
lea eax, [ebp - 0x404]
push eax
call fcn.00432e20
add esp, 0xc
lea ecx, [ebp - 0x404]
push ecx
call sym.Install_rocket.exe_public:_static_bool___cdecl_CNsSysInfo::GetHostname_wchar_t__
add esp, 4
mov edx, dword [ebp - 0x1810]
push edx
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.00432e20
add esp, 0xc
lea ecx, [ebp - 0x604]
push ecx
call sym.Install_rocket.exe_public:_static_bool___cdecl_CNsSysInfo::GetMac_wchar_t__
add esp, 4
push 0x4cfbd8
mov edx, dword [ebp + 8]
push edx
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
jne 0x4a0457
xor al, al
jmp 0x4a05ea
mov byte [ebp - 0x1809], 0
mov byte [ebp - 0x180a], 0
push 0
push 0x480
mov eax, dword [ebp - 0x1814]
push eax
call fcn.0043ec00
add esp, 0xc
mov dword [ebp - 0x1810], 0xc00
mov ecx, dword [ebp - 0x1810]
add ecx, 1
push ecx
push 0
lea edx, [ebp - 0x1808]
push edx
call fcn.00432e20
add esp, 0xc
mov eax, dword [ebp - 0x1814]
push eax
mov ecx, dword [ebp - 0x1810]
push ecx
push 1
lea edx, [ebp - 0x1808]
push edx
call fcn.0043e7a4
add esp, 0x10
push 0
push 0xc00
lea eax, [ebp - 0x1808]
push eax
mov ecx, dword [ebp - 0x1818]
add ecx, 0xc
push ecx
call sym.Install_rocket.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
push 0x200
lea edx, [ebp - 0x1808]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004332a0
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x1608]
push ecx
lea edx, [ebp - 0xa04]
push edx
call fcn.004332a0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x1408]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call fcn.004332a0
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4a0551
mov byte [ebp - 0x1809], 1
jmp 0x4a0558
mov byte [ebp - 0x180a], 1
lea ecx, [ebp - 0xa04]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4a0579
mov byte [ebp - 0x1809], 1
jmp 0x4a0580
mov byte [ebp - 0x180a], 1
lea eax, [ebp - 0xc04]
push eax
lea ecx, [ebp - 0x604]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4a05a1
mov byte [ebp - 0x1809], 1
jmp 0x4a05a8
mov byte [ebp - 0x180a], 1
xor edx, edx
jne 0x4a047b
mov eax, dword [ebp - 0x1814]
push eax
call fcn.0043c10f
add esp, 4
movzx ecx, byte [ebp - 0x1809]
test ecx, ecx
je 0x4a05e4
movzx edx, byte [ebp - 0x180a]
test edx, edx
je 0x4a05e4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1818]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, byte [ebp - 0x1809]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 4