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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b25
mov eax, dword fs:[0]
push eax
sub esp, 0xeec
mov eax, dword [0x4eb00c]
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_vip.exe_public:_bool___thiscall_CNsCode::ActiveCode2_char_const___int_
movzx edx, al
test edx, edx
je 0x4a18aa
mov eax, dword [ebp - 0xea4]
movzx ecx, byte [eax + 0x4c]
test ecx, ecx
je 0x4a18a0
xor eax, eax
jmp 0x4a20d9
mov eax, 1
jmp 0x4a20d9
push 0x64
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.00433560
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.0043ec20
add esp, 8
lea edx, [ebp - 0x74]
push edx
call fcn.0043c8d0
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_vip.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 0x4a1d66
lea ecx, [ebp - 0xea8]
call fcn.004253d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4cfa64
lea edx, [ebp - 0xea8]
push edx
call fcn.004253f0
add esp, 0x10
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::constructor_void_
mov byte [ebp - 4], 1
push 0x3e8
push 3
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::SetRetry_int__int_
push 0xbb8
lea ecx, [ebp - 0xea0]
call sym.Install_vip.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.004195b0
push eax
lea ecx, [ebp - 0xea8]
call fcn.00421dd0
push eax
mov ecx, dword [ebp - 0xea4]
add ecx, 4
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0xea0]
call sym.Install_vip.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 0x4a19f5
mov dword [ebp - 0xeec], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xeec]
jmp 0x4a20d9
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x4c0]
push edx
call fcn.0043fc60
add esp, 8
test eax, eax
je 0x4a1a42
mov dword [ebp - 0xee8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xee8]
jmp 0x4a20d9
mov eax, dword [ebp - 0xea4]
add eax, 0x14
push eax
lea ecx, [ebp - 0xeb8]
call fcn.004a7a80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xea4]
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 0x4a1a83
mov ecx, dword [ebp - 0xea4]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4cfb54
mov ecx, dword [ebp - 0xea4]
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 - 0xeb0], eax
cmp dword [ebp - 0xeb0], 0
jne 0x4a1af0
mov dword [ebp - 0xee4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a7ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xee4]
jmp 0x4a20d9
mov ecx, dword [ebp - 0xeb0]
push ecx
call fcn.0043c850
add esp, 4
push 0
push 0
lea edx, [ebp - 0xce0]
push edx
mov ecx, dword [ebp - 0xea4]
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 0xc8
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00433560
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 0x4cfb5c
lea eax, [ebp - 0x2cc]
push eax
call fcn.0041cc80
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_vip.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea eax, [ebp - 0x2cc]
push eax
call fcn.0043c8d0
add esp, 4
cmp eax, 0x80
je 0x4a1bf8
mov dword [ebp - 0xee0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a7ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xee0]
jmp 0x4a20d9
push 0x4cfb7c
mov ecx, dword [ebp - 0xea4]
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 - 0xeb0], eax
cmp dword [ebp - 0xeb0], 0
jne 0x4a1c65
mov dword [ebp - 0xedc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a7ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xedc]
jmp 0x4a20d9
mov ecx, dword [ebp - 0xeb0]
push ecx
lea edx, [ebp - 0x2cc]
push edx
call fcn.0043c8d0
add esp, 4
push eax
push 1
lea eax, [ebp - 0x2cc]
push eax
call fcn.0043c580
add esp, 0x10
mov ecx, dword [ebp - 0xeb0]
push ecx
push 0x400
push 1
lea edx, [ebp - 0xcc0]
push edx
call fcn.0043c580
add esp, 0x10
mov eax, dword [ebp - 0xeb0]
push eax
call fcn.0043c850
add esp, 4
mov ecx, dword [ebp - 0xea4]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0xea4]
call sym.Install_vip.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
movzx ecx, al
test ecx, ecx
jne 0x4a1d1c
mov dword [ebp - 0xed8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a7ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xed8]
jmp 0x4a20d9
mov dword [ebp - 0xed4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xeb8]
call fcn.004a7ab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xea0]
call sym.Install_vip.exe_public:_void___thiscall_CNsNet::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xea8]
call fcn.004192a0
mov eax, dword [ebp - 0xed4]
jmp 0x4a20d9
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x74]
cmp ecx, 0x4c
jne 0x4a20d3
mov edx, dword [ebp - 0xea4]
add edx, 0x14
push edx
lea ecx, [ebp - 0xeb4]
call fcn.004a7a80
mov dword [ebp - 4], 3
push 0x4cfb84
mov ecx, dword [ebp - 0xea4]
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 - 0xeac], eax
cmp dword [ebp - 0xeac], 0
jne 0x4a1de7
mov dword [ebp - 0xed0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xed0]
jmp 0x4a20d9
push 0x64
push 0
lea eax, [ebp - 0xd8]
push eax
call fcn.00433560
add esp, 0xc
mov ecx, dword [ebp - 0xeac]
push ecx
push 0x40
push 1
lea edx, [ebp - 0xd8]
push edx
call fcn.0043eee4
add esp, 0x10
mov eax, dword [ebp - 0xeac]
push eax
call fcn.0043c850
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_vip.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_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 - 0x13c]
push ecx
call fcn.00433560
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.0041cc80
add esp, 0x20
push 0x10
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0043cb90
add esp, 0xc
test eax, eax
je 0x4a1ef9
mov dword [ebp - 0xef8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xef8]
jmp 0x4a20d9
push 0x10
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.0043cb90
add esp, 0xc
test eax, eax
je 0x4a1f39
mov dword [ebp - 0xebc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xebc]
jmp 0x4a20d9
push 0xc8
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.00433560
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xd8]
push eax
push str._s_s
lea ecx, [ebp - 0x204]
push ecx
call fcn.0041cc80
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_vip.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
call fcn.0043c8d0
add esp, 4
cmp eax, 0x80
je 0x4a1fc8
mov dword [ebp - 0xec0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xec0]
jmp 0x4a20d9
push 0x4cfb94
mov ecx, dword [ebp - 0xea4]
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 - 0xeac], eax
cmp dword [ebp - 0xeac], 0
jne 0x4a2017
mov dword [ebp - 0xec4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xec4]
jmp 0x4a20d9
mov edx, dword [ebp - 0xeac]
push edx
lea eax, [ebp - 0x204]
push eax
call fcn.0043c8d0
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x204]
push ecx
call fcn.0043c580
add esp, 0x10
mov edx, dword [ebp - 0xeac]
push edx
push 0x400
push 1
lea eax, [ebp - 0x8c0]
push eax
call fcn.0043c580
add esp, 0x10
mov ecx, dword [ebp - 0xeac]
push ecx
call fcn.0043c850
add esp, 4
mov ecx, dword [ebp - 0xea4]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0xea4]
call sym.Install_vip.exe_public:_bool___thiscall_CNsCode::WriteCodeEx_wchar_t_const__
movzx edx, al
test edx, edx
jne 0x4a20ad
mov dword [ebp - 0xec8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xec8]
jmp 0x4a20d9
mov dword [ebp - 0xecc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xeb4]
call fcn.004a7ab0
mov eax, dword [ebp - 0xecc]
jmp 0x4a20d9
xor eax, eax
jmp 0x4a20d9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 8