Function at 0x4a05d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b21c1
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x4ec00c]
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.00433ca0
add esp, 0xc
mov ecx, dword [ebp - 0x4dc]
add ecx, 0x14
push ecx
lea ecx, [ebp - 0x4e0]
call fcn.004a8200
push 0x4d0c84
mov ecx, dword [ebp - 0x4dc]
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 - 0x4d8], eax
cmp dword [ebp - 0x4d8], 0
jne 0x4a0671
mov byte [ebp - 0x4c5], 0
lea ecx, [ebp - 0x4e0]
call fcn.004a8230
mov al, byte [ebp - 0x4c5]
jmp 0x4a090a
mov edx, dword [ebp - 0x4d8]
push edx
push 0x80
push 1
lea eax, [ebp - 0x1cc]
push eax
call fcn.0043f624
add esp, 0x10
mov ecx, dword [ebp - 0x4d8]
push ecx
call fcn.0043cf8f
add esp, 4
lea ecx, [ebp - 0x4e0]
call fcn.004a8230
push 0x64
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.00433ca0
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
call sym.Install_adv.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_adv.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 0x4a070a
mov edx, 1
imul eax, edx, 0x3f
movsx ecx, byte [ebp + eax - 0xa0]
test ecx, ecx
je 0x4a0712
mov al, byte [ebp + 8]
jmp 0x4a090a
lea edx, [ebp - 0xa0]
push edx
call fcn.0043d010
add esp, 4
cmp eax, 0x3f
je 0x4a072e
mov al, byte [ebp + 8]
jmp 0x4a090a
push 0x64
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.00433ca0
add esp, 0xc
push 0x20
lea ecx, [ebp - 0x81]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.00440430
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00419d60
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.00418e30
push eax
lea ecx, [ebp - 0x4d4]
call fcn.004096a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c4]
call fcn.00419d00
lea ecx, [ebp - 0x4d0]
call fcn.004097c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4d4]
push edx
mov ecx, dword [ebp - 0x4dc]
add ecx, 8
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.00409d70
add esp, 0xc
push 0x50
push 0x1f4
lea ecx, [ebp - 0x3c0]
push ecx
lea ecx, [ebp - 0x4d0]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
mov dword [ebp - 0x4f0], eax
cmp dword [ebp - 0x4f0], 0
jne 0x4a0846
mov byte [ebp - 0x4c7], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00409680
mov al, byte [ebp - 0x4c7]
jmp 0x4a090a
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 0x4a0885
jmp 0x4a088a
call fcn.0042f7cf
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.004403a0
add esp, 8
test eax, eax
jne 0x4a08dc
mov byte [ebp - 0x4c8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00409680
mov al, byte [ebp - 0x4c8]
jmp 0x4a090a
mov byte [ebp - 0x4c9], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00409680
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.0042f10e
mov esp, ebp
pop ebp
ret 4