Function at 0x4a0f10
Capabilities:
Check if file exists
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_int___thiscall_CNsCode::CheckCode_void_
test eax, eax
je 0x4a0f53
push 0x4cab6b
mov eax, dword [ebp + 8]
push eax
call fcn.0043ec20
add esp, 8
mov eax, 1
jmp 0x4a11ce
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a100f
push 0x4cfbac
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c75a
add esp, 8
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x4a0f9c
xor eax, eax
jmp 0x4a11ce
push 0x64
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00433560
add esp, 0xc
mov edx, dword [ebp - 0x14c]
push edx
push 0x40
push 1
lea eax, [ebp - 0xcc]
push eax
call fcn.0043eee4
add esp, 0x10
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0043c850
add esp, 4
push 0
push 0x40
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x144]
add eax, 0xc
push eax
call sym.Install_vip.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
push 0x10
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043fcf0
add esp, 0xc
jmp 0x4a11cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0043e073
add esp, 4
push 0x64
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00433560
add esp, 0xc
call fcn.0043e052
cdq
mov ecx, 0x3e8
idiv ecx
push edx
call fcn.0043e052
cdq
mov ecx, 0x186a0
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x989680
div ecx
push edx
push str.L_07d_05d_03d
lea edx, [ebp - 0x130]
push edx
call fcn.0041cc80
add esp, 0x14
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043ec20
add esp, 8
push 0x4cfbc4
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c75a
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x4a10b3
xor eax, eax
jmp 0x4a11ce
mov edx, dword [ebp - 0x148]
push edx
call fcn.0043c850
add esp, 4
push 0
push 0
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_int___cdecl_FileTime_wchar_t_const___struct__SYSTEMTIME___struct__SYSTEMTIME___struct__SYSTEMTIME__
add esp, 0x10
push 0x64
push 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.00433560
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
movzx eax, word [ebp - 0x134]
push eax
movzx ecx, word [ebp - 0x136]
push ecx
movzx edx, word [ebp - 0x138]
push edx
movzx eax, word [ebp - 0x13a]
push eax
movzx ecx, word [ebp - 0x13e]
push ecx
movzx edx, word [ebp - 0x140]
push edx
push str.NS_d_02d_02d_02d_02d_02d_s
lea eax, [ebp - 0x68]
push eax
call fcn.0041cc80
add esp, 0x24
push 1
push 0x20
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x144]
add edx, 0xc
push edx
call sym.Install_vip.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.0043c8d0
add esp, 4
cmp eax, 0x40
je 0x4a1168
xor eax, eax
jmp 0x4a11ce
push 0x4cfbe8
mov ecx, dword [ebp - 0x144]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c75a
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x4a1194
xor eax, eax
jmp 0x4a11ce
mov ecx, dword [ebp - 0x148]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0043c8d0
add esp, 4
push eax
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.0043c580
add esp, 0x10
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0043c850
add esp, 4
mov eax, 1
jmp 0x4a11ce
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 4