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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1295
mov eax, dword fs:[0]
push eax
sub esp, 0xeec
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xea4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsCode::ActiveCode2_char_const___int_
movzx edx, al
test edx, edx
je 0x4a119a
mov eax, dword [ebp - 0xea4]
movzx ecx, byte [eax + 0x4c]
test ecx, ecx
je 0x4a1190
xor eax, eax
jmp 0x4a19c9
mov eax, 1
jmp 0x4a19c9
push 0x64
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.00432e20
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.0043e4e0
add esp, 8
lea edx, [ebp - 0x74]
push edx
call fcn.0043c190
add esp, 4
mov dword [ebp - 0xef4], eax
push 0
mov eax, dword [ebp - 0xef4]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0xea4]
add edx, 0xc
push edx
call sym.Install_rocket.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x74]
cmp edx, 0x4e
jne 0x4a1656
lea ecx, [ebp - 0xea8]
call fcn.00424c90
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4cfa44
lea edx, [ebp - 0xea8]
push edx
call fcn.00424cb0
add esp, 0x10
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::constructor_void_
mov byte [ebp - 4], 1
push 0x3e8
push 3
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::SetRetry_int__int_
push 0xbb8
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::SetTimeout_unsigned_long_int_
push 0x50
push 0x1f4
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0xea8]
call fcn.00418e60
push eax
lea ecx, [ebp - 0xea8]
call fcn.00421690
push eax
mov ecx, dword [ebp - 0xea4]
add ecx, 4
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_int___thiscall_CNsNet::Post_wchar_t_const___void___int__char___int__int_
mov dword [ebp - 0xef0], eax
cmp dword [ebp - 0xef0], 0
jne 0x4a12e5
mov dword [ebp - 0xeec], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xeec]
jmp 0x4a19c9
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x4c0]
push edx
call fcn.0043f520
add esp, 8
test eax, eax
je 0x4a1332
mov dword [ebp - 0xee8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xee8]
jmp 0x4a19c9
mov eax, dword [ebp - 0xea4]
add eax, 0x14
push eax
lea ecx, [ebp - 0xeb8]
call fcn.004a7370
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xea4]
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 0x4a1373
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4cfb34
mov ecx, dword [ebp - 0xea4]
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 - 0xeb0], eax
cmp dword [ebp - 0xeb0], 0
jne 0x4a13e0
mov dword [ebp - 0xee4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a73a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xee4]
jmp 0x4a19c9
mov ecx, dword [ebp - 0xeb0]
push ecx
call fcn.0043c10f
add esp, 4
push 0
push 0
lea edx, [ebp - 0xce0]
push edx
mov ecx, dword [ebp - 0xea4]
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 0xc8
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00432e20
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x74]
push edx
movzx eax, word [ebp - 0xcd4]
push eax
movzx ecx, word [ebp - 0xcd6]
push ecx
movzx edx, word [ebp - 0xcd8]
push edx
movzx eax, word [ebp - 0xcda]
push eax
movzx ecx, word [ebp - 0xcde]
push ecx
movzx edx, word [ebp - 0xce0]
push edx
push 0x4cfb3c
lea eax, [ebp - 0x2cc]
push eax
call fcn.0041c540
add esp, 0x28
push 1
push 0x40
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp - 0xea4]
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 - 0x2cc]
push eax
call fcn.0043c190
add esp, 4
cmp eax, 0x80
je 0x4a14e8
mov dword [ebp - 0xee0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a73a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xee0]
jmp 0x4a19c9
push 0x4cfb5c
mov ecx, dword [ebp - 0xea4]
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 - 0xeb0], eax
cmp dword [ebp - 0xeb0], 0
jne 0x4a1555
mov dword [ebp - 0xedc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a73a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xedc]
jmp 0x4a19c9
mov ecx, dword [ebp - 0xeb0]
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.0043c190
add esp, 4
push eax
push 1
lea eax, [ebp - 0x2cc]
push eax
call fcn.0043be3f
add esp, 0x10
mov ecx, dword [ebp - 0xeb0]
push ecx
push 0x400
push 1
lea edx, [ebp - 0xcc0]
push edx
call fcn.0043be3f
add esp, 0x10
mov eax, dword [ebp - 0xeb0]
push eax
call fcn.0043c10f
add esp, 4
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
movzx ecx, al
test ecx, ecx
jne 0x4a160c
mov dword [ebp - 0xed8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a73a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xed8]
jmp 0x4a19c9
mov dword [ebp - 0xed4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a73a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_rocket.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.00418980
mov eax, dword [ebp - 0xed4]
jmp 0x4a19c9
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x74]
cmp ecx, 0x4c
jne 0x4a19c3
mov edx, dword [ebp - 0xea4]
add edx, 0x14
push edx
lea ecx, [ebp - 0xeb4]
call fcn.004a7370
mov dword [ebp - 4], 3
push 0x4cfb64
mov ecx, dword [ebp - 0xea4]
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 - 0xeac], eax
cmp dword [ebp - 0xeac], 0
jne 0x4a16d7
mov dword [ebp - 0xed0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xed0]
jmp 0x4a19c9
push 0x64
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.00432e20
add esp, 0xc
mov ecx, dword [ebp - 0xeac]
push ecx
push 0x40
push 1
lea edx, [ebp - 0xd8]
push edx
call fcn.0043e7a4
add esp, 0x10
mov eax, dword [ebp - 0xeac]
push eax
call fcn.0043c10f
add esp, 4
push 0
push 0x40
lea ecx, [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xea4]
add edx, 0xc
push edx
call sym.Install_rocket.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0xcd0]
push eax
mov ecx, dword [ebp - 0xea4]
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 - 0x13c]
push ecx
call fcn.00432e20
add esp, 0xc
movzx edx, word [ebp - 0xcc4]
push edx
movzx eax, word [ebp - 0xcc6]
push eax
movzx ecx, word [ebp - 0xcc8]
push ecx
movzx edx, word [ebp - 0xcca]
push edx
movzx eax, word [ebp - 0xcce]
push eax
movzx ecx, word [ebp - 0xcd0]
push ecx
push str.NS_d_02d_02d_02d_02d_02d
lea edx, [ebp - 0x13c]
push edx
call fcn.0041c540
add esp, 0x20
push 0x10
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0043c450
add esp, 0xc
test eax, eax
je 0x4a17e9
mov dword [ebp - 0xef8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xef8]
jmp 0x4a19c9
push 0x10
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.0043c450
add esp, 0xc
test eax, eax
je 0x4a1829
mov dword [ebp - 0xebc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xebc]
jmp 0x4a19c9
push 0xc8
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.00432e20
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xd8]
push eax
push 0x4cfb6c
lea ecx, [ebp - 0x204]
push ecx
call fcn.0041c540
add esp, 0x10
push 1
push 0x40
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0xea4]
add eax, 0xc
push eax
call sym.Install_rocket.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
call fcn.0043c190
add esp, 4
cmp eax, 0x80
je 0x4a18b8
mov dword [ebp - 0xec0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xec0]
jmp 0x4a19c9
push 0x4cfb74
mov ecx, dword [ebp - 0xea4]
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 - 0xeac], eax
cmp dword [ebp - 0xeac], 0
jne 0x4a1907
mov dword [ebp - 0xec4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xec4]
jmp 0x4a19c9
mov edx, dword [ebp - 0xeac]
push edx
lea eax, [ebp - 0x204]
push eax
call fcn.0043c190
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x204]
push ecx
call fcn.0043be3f
add esp, 0x10
mov edx, dword [ebp - 0xeac]
push edx
push 0x400
push 1
lea eax, [ebp - 0x8c0]
push eax
call fcn.0043be3f
add esp, 0x10
mov ecx, dword [ebp - 0xeac]
push ecx
call fcn.0043c10f
add esp, 4
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0xea4]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
movzx edx, al
test edx, edx
jne 0x4a199d
mov dword [ebp - 0xec8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xec8]
jmp 0x4a19c9
mov dword [ebp - 0xecc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a73a0
mov eax, dword [ebp - 0xecc]
jmp 0x4a19c9
xor eax, eax
jmp 0x4a19c9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 8