Function at 0x49b6f0
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 [0x4e3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.exe_public:_int___thiscall_CNsCode::CheckCode_void_
test eax, eax
je 0x49b733
push 0x4c40a3
mov eax, dword [ebp + 8]
push eax
call fcn.0045f5c0
add esp, 8
mov eax, 1
jmp 0x49b9ae
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.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 0x49b7ef
push 0x4c90ac
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0045f83a
add esp, 8
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x49b77c
xor eax, eax
jmp 0x49b9ae
push 0x64
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00456880
add esp, 0xc
mov edx, dword [ebp - 0x14c]
push edx
push 0x40
push 1
lea eax, [ebp - 0xcc]
push eax
call fcn.0045fa86
add esp, 0x10
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.0045febd
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_silent.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.00460e50
add esp, 0xc
jmp 0x49b9ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0045ea1a
add esp, 4
push 0x64
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.00456880
add esp, 0xc
call fcn.0045e9f9
cdq
mov ecx, 0x3e8
idiv ecx
push edx
call fcn.0045e9f9
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.0040cd50
add esp, 0x14
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045f5c0
add esp, 8
push 0x4c90c4
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0045f83a
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x49b893
xor eax, eax
jmp 0x49b9ae
mov edx, dword [ebp - 0x148]
push edx
call fcn.0045febd
add esp, 4
push 0
push 0
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.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.00456880
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.0040cd50
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_silent.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call fcn.0045cd90
add esp, 4
cmp eax, 0x40
je 0x49b948
xor eax, eax
jmp 0x49b9ae
push 0x4c90e8
mov ecx, dword [ebp - 0x144]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0045f83a
add esp, 8
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x49b974
xor eax, eax
jmp 0x49b9ae
mov ecx, dword [ebp - 0x148]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0045cd90
add esp, 4
push eax
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.0045fdef
add esp, 0x10
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0045febd
add esp, 4
mov eax, 1
jmp 0x49b9ae
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 4