Function at 0x49a630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab9b1
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4dc], ecx
push 0xc8
push 0
lea eax, [ebp - 0x1cc]
push eax
call fcn.00456880
add esp, 0xc
mov ecx, dword [ebp - 0x4dc]
add ecx, 0x14
push ecx
lea ecx, [ebp - 0x4e0]
call fcn.004a2250
push 0x4c9164
mov ecx, dword [ebp - 0x4dc]
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 - 0x4d8], eax
cmp dword [ebp - 0x4d8], 0
jne 0x49a6d1
mov byte [ebp - 0x4c5], 0
lea ecx, [ebp - 0x4e0]
call fcn.004a2280
mov al, byte [ebp - 0x4c5]
jmp 0x49a96a
mov edx, dword [ebp - 0x4d8]
push edx
push 0x80
push 1
lea eax, [ebp - 0x1cc]
push eax
call fcn.0045fa86
add esp, 0x10
mov ecx, dword [ebp - 0x4d8]
push ecx
call fcn.0045febd
add esp, 4
lea ecx, [ebp - 0x4e0]
call fcn.004a2280
push 0x64
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.00456880
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsEncrypt::GetKey_unsigned_char__const__unsigned_int__unsigned_char_const__
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x3c]
push eax
call sym.Install_silent.exe_public:_static_bool___cdecl_CNsEncrypt::HfDecodeStr_unsigned_char_const___char_const___unsigned_char__
add esp, 0xc
mov byte [ebp - 0x4c6], al
movzx ecx, byte [ebp - 0x4c6]
test ecx, ecx
je 0x49a76a
mov edx, 1
imul eax, edx, 0x3f
movsx ecx, byte [ebp + eax - 0xa0]
test ecx, ecx
je 0x49a772
mov al, byte [ebp + 8]
jmp 0x49a96a
lea edx, [ebp - 0xa0]
push edx
call fcn.0045cd90
add esp, 4
cmp eax, 0x3f
je 0x49a78e
mov al, byte [ebp + 8]
jmp 0x49a96a
push 0x64
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.00456880
add esp, 0xc
push 0x20
lea ecx, [ebp - 0x81]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.00460e50
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00409d00
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4ec]
call fcn.00406ec0
push eax
lea ecx, [ebp - 0x4d4]
call fcn.00405080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c4]
call fcn.00406ed0
lea ecx, [ebp - 0x4d0]
call fcn.00405120
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4d4]
push edx
mov ecx, dword [ebp - 0x4dc]
add ecx, 8
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.00405800
add esp, 0xc
push 0x50
push 0x1f4
lea ecx, [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x4d0]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
mov dword [ebp - 0x4f0], eax
cmp dword [ebp - 0x4f0], 0
jne 0x49a8a6
mov byte [ebp - 0x4c7], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00405060
mov al, byte [ebp - 0x4c7]
jmp 0x49a96a
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1c], 0x4e
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x1c], 0x4f
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x4f
mov eax, 1
imul ecx, eax, 3
mov dword [ebp - 0x4e4], ecx
cmp dword [ebp - 0x4e4], 0xa
jae 0x49a8e5
jmp 0x49a8ea
call fcn.0043051f
mov edx, dword [ebp - 0x4e4]
mov byte [ebp + edx - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.00460dc0
add esp, 8
test eax, eax
jne 0x49a93c
mov byte [ebp - 0x4c8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00405060
mov al, byte [ebp - 0x4c8]
jmp 0x49a96a
mov byte [ebp - 0x4c9], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00405060
mov al, byte [ebp - 0x4c9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 4