Function at 0x49b250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x181c
call fcn.00430e90
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1818], ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_silent.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x181c], eax
cmp dword [ebp - 0x181c], 0x480
jne 0x49b2a1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1818]
call sym.Install_silent.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, 1
jmp 0x49b4da
mov dword [ebp - 0x1810], 0x200
mov edx, dword [ebp - 0x1810]
push edx
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call sym.Install_silent.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.00456880
add esp, 0xc
lea ecx, [ebp - 0x404]
push ecx
call sym.Install_silent.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.00456880
add esp, 0xc
lea ecx, [ebp - 0x604]
push ecx
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsSysInfo::GetMac_wchar_t__
add esp, 4
push 0x4c90f8
mov edx, dword [ebp + 8]
push edx
call fcn.0045f83a
add esp, 8
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
jne 0x49b347
xor al, al
jmp 0x49b4da
mov byte [ebp - 0x1809], 0
mov byte [ebp - 0x180a], 0
push 0
push 0x480
mov eax, dword [ebp - 0x1814]
push eax
call fcn.00460268
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.00456880
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.0045fa86
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_silent.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.004569e0
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x1608]
push ecx
lea edx, [ebp - 0xa04]
push edx
call fcn.004569e0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x1408]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call fcn.004569e0
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 0x49b441
mov byte [ebp - 0x1809], 1
jmp 0x49b448
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 0x49b469
mov byte [ebp - 0x1809], 1
jmp 0x49b470
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 0x49b491
mov byte [ebp - 0x1809], 1
jmp 0x49b498
mov byte [ebp - 0x180a], 1
xor edx, edx
jne 0x49b36b
mov eax, dword [ebp - 0x1814]
push eax
call fcn.0045febd
add esp, 4
movzx ecx, byte [ebp - 0x1809]
test ecx, ecx
je 0x49b4d4
movzx edx, byte [ebp - 0x180a]
test edx, edx
je 0x49b4d4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1818]
call sym.Install_silent.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, byte [ebp - 0x1809]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 4