Function at 0x49a990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x230]
mov byte [eax + 0x4c], 0
push 0x4c40b7
mov ecx, dword [ebp - 0x230]
add ecx, 0x34
call fcn.00409200
push 0xc8
push 0
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00456880
add esp, 0xc
mov edx, dword [ebp - 0x230]
add edx, 0x14
push edx
lea ecx, [ebp - 0x240]
call fcn.004a2250
push 0x4c9140
mov ecx, dword [ebp - 0x230]
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 - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x49aa36
mov byte [ebp - 0x231], 0
lea ecx, [ebp - 0x240]
call fcn.004a2280
mov al, byte [ebp - 0x231]
jmp 0x49aca6
mov eax, dword [ebp - 0x238]
push eax
push 0x80
push 1
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.0045fa86
add esp, 0x10
mov edx, dword [ebp - 0x238]
push edx
call fcn.0045febd
add esp, 4
lea ecx, [ebp - 0x240]
call fcn.004a2280
push 0x64
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.00456880
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsEncrypt::GetKey_unsigned_char__const__unsigned_int__unsigned_char_const__
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x24]
push ecx
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsEncrypt::HfDecodeStr_unsigned_char_const___char_const___unsigned_char__
add esp, 0xc
mov byte [ebp - 0x232], al
movzx edx, byte [ebp - 0x232]
test edx, edx
je 0x49aacf
mov eax, 1
imul ecx, eax, 0x3f
movsx edx, byte [ebp + ecx - 0x88]
test edx, edx
je 0x49aad6
xor al, al
jmp 0x49aca6
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.0045f5c0
add esp, 8
push 0
push 0
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp - 0x230]
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 eax, [ebp - 0x218]
push eax
call fcn.00456880
add esp, 0xc
movzx ecx, word [ebp - 0x21c]
push ecx
movzx edx, word [ebp - 0x21e]
push edx
movzx eax, word [ebp - 0x220]
push eax
movzx ecx, word [ebp - 0x222]
push ecx
movzx edx, word [ebp - 0x226]
push edx
movzx eax, word [ebp - 0x228]
push eax
push str.NS_04d_02d_02d_02d_02d_02d
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040cd50
add esp, 0x20
push 0x10
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x1b4]
push eax
call fcn.0045d080
add esp, 0xc
test eax, eax
je 0x49ab85
xor al, al
jmp 0x49aca6
push 0x64
push 0
lea ecx, [ebp - 0xec]
push ecx
call fcn.00456880
add esp, 0xc
push 0x20
lea edx, [ebp - 0x195]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.00460e50
add esp, 0xc
push 0x64
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x24]
push ecx
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsEncrypt::HfDecodeStr_unsigned_char_const___char_const___unsigned_char__
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
call fcn.0045cd90
add esp, 4
cmp eax, 0xf
je 0x49abf8
xor al, al
jmp 0x49aca6
mov dword [ebp - 0x23c], 0
push 0xf
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0045d080
add esp, 0xc
test eax, eax
jne 0x49ac28
mov dword [ebp - 0x23c], 1
mov ecx, dword [ebp - 0x230]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x230]
call sym.Install_silent.exe_public:_bool___thiscall_CNsCode::CheckCodeEx_wchar_t_const__
movzx edx, al
test edx, edx
jne 0x49ac4a
xor al, al
jmp 0x49aca6
cmp dword [ebp - 0x23c], 0
je 0x49ac87
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x88]
cmp edx, 0x45
jne 0x49ac87
mov eax, dword [ebp - 0x230]
mov byte [eax + 0x4c], 1
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 0x34
call fcn.00409200
cmp dword [ebp - 0x23c], 0
je 0x49ac99
mov byte [ebp - 0x229], 1
jmp 0x49aca0
mov byte [ebp - 0x229], 0
mov al, byte [ebp - 0x229]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret