Function at 0x4a0930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0x230]
mov byte [eax + 0x4c], 0
push 0x4cbb97
mov ecx, dword [ebp - 0x230]
add ecx, 0x34
call fcn.004195d0
push 0xc8
push 0
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00433ca0
add esp, 0xc
mov edx, dword [ebp - 0x230]
add edx, 0x14
push edx
lea ecx, [ebp - 0x240]
call fcn.004a8200
push 0x4d0c60
mov ecx, dword [ebp - 0x230]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043ce99
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x4a09d6
mov byte [ebp - 0x231], 0
lea ecx, [ebp - 0x240]
call fcn.004a8230
mov al, byte [ebp - 0x231]
jmp 0x4a0c46
mov eax, dword [ebp - 0x238]
push eax
push 0x80
push 1
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.0043f624
add esp, 0x10
mov edx, dword [ebp - 0x238]
push edx
call fcn.0043cf8f
add esp, 4
lea ecx, [ebp - 0x240]
call fcn.004a8230
push 0x64
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.00433ca0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call sym.Install_adv.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_adv.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 0x4a0a6f
mov eax, 1
imul ecx, eax, 0x3f
movsx edx, byte [ebp + ecx - 0x88]
test edx, edx
je 0x4a0a76
xor al, al
jmp 0x4a0c46
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.0043f360
add esp, 8
push 0
push 0
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp - 0x230]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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.00433ca0
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.0041d3b0
add esp, 0x20
push 0x10
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x1b4]
push eax
call fcn.0043d2d0
add esp, 0xc
test eax, eax
je 0x4a0b25
xor al, al
jmp 0x4a0c46
push 0x64
push 0
lea ecx, [ebp - 0xec]
push ecx
call fcn.00433ca0
add esp, 0xc
push 0x20
lea edx, [ebp - 0x195]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.00440430
add esp, 0xc
push 0x64
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00433ca0
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x24]
push ecx
call sym.Install_adv.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.0043d010
add esp, 4
cmp eax, 0xf
je 0x4a0b98
xor al, al
jmp 0x4a0c46
mov dword [ebp - 0x23c], 0
push 0xf
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0043d2d0
add esp, 0xc
test eax, eax
jne 0x4a0bc8
mov dword [ebp - 0x23c], 1
mov ecx, dword [ebp - 0x230]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x230]
call sym.Install_adv.exe_public:_bool___thiscall_CNsCode::CheckCodeEx_wchar_t_const__
movzx edx, al
test edx, edx
jne 0x4a0bea
xor al, al
jmp 0x4a0c46
cmp dword [ebp - 0x23c], 0
je 0x4a0c27
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x88]
cmp edx, 0x45
jne 0x4a0c27
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.004195d0
cmp dword [ebp - 0x23c], 0
je 0x4a0c39
mov byte [ebp - 0x229], 1
jmp 0x4a0c40
mov byte [ebp - 0x229], 0
mov al, byte [ebp - 0x229]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret