Function at 0x4a0800
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 [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.exe_public:_int___thiscall_CNsCode::CheckCode_void_
test eax, eax
je 0x4a0843
push 0x4cab4b
mov eax, dword [ebp + 8]
push eax
call fcn.0043e4e0
add esp, 8
mov eax, 1
jmp 0x4a0abe
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.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 0x4a08ff
push 0x4cfb8c
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x4a088c
xor eax, eax
jmp 0x4a0abe
push 0x64
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00432e20
add esp, 0xc
mov edx, dword [ebp - 0x14c]
push edx
push 0x40
push 1
lea eax, [ebp - 0xcc]
push eax
call fcn.0043e7a4
add esp, 0x10
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0043c10f
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_rocket.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.0043f5b0
add esp, 0xc
jmp 0x4a0abc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0043d933
add esp, 4
push 0x64
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00432e20
add esp, 0xc
call fcn.0043d912
cdq
mov ecx, 0x3e8
idiv ecx
push edx
call fcn.0043d912
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.0041c540
add esp, 0x14
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043e4e0
add esp, 8
push 0x4cfba4
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x4a09a3
xor eax, eax
jmp 0x4a0abe
mov edx, dword [ebp - 0x148]
push edx
call fcn.0043c10f
add esp, 4
push 0
push 0
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_rocket.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.00432e20
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.0041c540
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_rocket.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.0043c190
add esp, 4
cmp eax, 0x40
je 0x4a0a58
xor eax, eax
jmp 0x4a0abe
push 0x4cfbc8
mov ecx, dword [ebp - 0x144]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043c019
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x4a0a84
xor eax, eax
jmp 0x4a0abe
mov ecx, dword [ebp - 0x148]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0043c190
add esp, 4
push eax
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.0043be3f
add esp, 0x10
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0043c10f
add esp, 4
mov eax, 1
jmp 0x4a0abe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 4