Function at 0x4a11f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x181c
call fcn.0047ad70
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1818], ecx
mov eax, dword [ebp + 8]
push eax
call sym.Install_adv.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x181c], eax
cmp dword [ebp - 0x181c], 0x480
jne 0x4a1241
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1818]
call sym.Install_adv.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, 1
jmp 0x4a147a
mov dword [ebp - 0x1810], 0x200
mov edx, dword [ebp - 0x1810]
push edx
push 0
lea eax, [ebp - 0x204]
push eax
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call sym.Install_adv.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.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x404]
push ecx
call sym.Install_adv.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.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x604]
push ecx
call sym.Install_adv.exe_public:_static_bool___cdecl_CNsSysInfo::GetMac_wchar_t__
add esp, 4
push 0x4d0c18
mov edx, dword [ebp + 8]
push edx
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
jne 0x4a12e7
xor al, al
jmp 0x4a147a
mov byte [ebp - 0x1809], 0
mov byte [ebp - 0x180a], 0
push 0
push 0x480
mov eax, dword [ebp - 0x1814]
push eax
call fcn.0043fa80
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.00433ca0
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.0043f624
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_adv.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.00434120
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x1608]
push ecx
lea edx, [ebp - 0xa04]
push edx
call fcn.00434120
add esp, 0xc
push 0x200
lea eax, [ebp - 0x1408]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call fcn.00434120
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 0x4a13e1
mov byte [ebp - 0x1809], 1
jmp 0x4a13e8
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 0x4a1409
mov byte [ebp - 0x1809], 1
jmp 0x4a1410
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 0x4a1431
mov byte [ebp - 0x1809], 1
jmp 0x4a1438
mov byte [ebp - 0x180a], 1
xor edx, edx
jne 0x4a130b
mov eax, dword [ebp - 0x1814]
push eax
call fcn.0043cf8f
add esp, 4
movzx ecx, byte [ebp - 0x1809]
test ecx, ecx
je 0x4a1474
movzx edx, byte [ebp - 0x180a]
test edx, edx
je 0x4a1474
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1818]
call sym.Install_adv.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
mov al, byte [ebp - 0x1809]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 4