Function at 0x4a1960
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b225e
mov eax, dword fs:[0]
push eax
sub esp, 0x468
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 - 0x444], ecx
push 1
mov ecx, dword [ebp - 0x444]
call sym.Install_adv.exe_public:_bool___thiscall_CNsCode::CheckDate2_bool_
movzx eax, al
test eax, eax
jne 0x4a19ac
xor eax, eax
jmp 0x4a1c8c
push 0xc8
push 0
lea ecx, [ebp - 0x148]
push ecx
call fcn.00433ca0
add esp, 0xc
mov edx, dword [ebp - 0x444]
add edx, 0x14
push edx
lea ecx, [ebp - 0x454]
call fcn.004a8200
push 0x4d0bc4
mov ecx, dword [ebp - 0x444]
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 - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4a1a1f
mov dword [ebp - 0x45c], 0
lea ecx, [ebp - 0x454]
call fcn.004a8230
mov eax, dword [ebp - 0x45c]
jmp 0x4a1c8c
mov eax, dword [ebp - 0x450]
push eax
push 0x80
push 1
lea ecx, [ebp - 0x148]
push ecx
call fcn.0043f624
add esp, 0x10
mov edx, dword [ebp - 0x450]
push edx
call fcn.0043cf8f
add esp, 4
lea ecx, [ebp - 0x454]
call fcn.004a8230
push 0
push 0x80
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x444]
add ecx, 0xc
push ecx
call sym.Install_adv.exe_void___cdecl_NsEncode_char_const__const__char___int__int_
add esp, 0x10
lea edx, [ebp - 0x148]
push edx
call fcn.0043d010
add esp, 4
cmp eax, 0x40
je 0x4a1a91
xor eax, eax
jmp 0x4a1c8c
mov eax, 1
shl eax, 4
movsx ecx, byte [ebp + eax - 0x148]
cmp ecx, 0x4c
jne 0x4a1ab0
mov eax, 1
jmp 0x4a1c8c
push 0x64
push 0
lea edx, [ebp - 0x80]
push edx
call fcn.00433ca0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00440430
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x440]
call fcn.00419d60
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x464], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x464]
call fcn.00418e30
push eax
lea ecx, [ebp - 0x44c]
call fcn.004096a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.00419d00
lea ecx, [ebp - 0x448]
call fcn.004097c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44c]
push ecx
mov ecx, dword [ebp - 0x444]
add ecx, 8
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x448]
push edx
call fcn.00409d70
add esp, 0xc
push 0x50
push 0x1f4
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x448]
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 - 0x468], eax
cmp dword [ebp - 0x468], 0
jne 0x4a1bc2
mov dword [ebp - 0x46c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.00409680
mov eax, dword [ebp - 0x46c]
jmp 0x4a1c8c
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1c], 0x4e
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x4f
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x1c], 0x4f
mov edx, 1
imul eax, edx, 3
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0xa
jae 0x4a1c01
jmp 0x4a1c06
call fcn.0042f7cf
mov ecx, dword [ebp - 0x458]
mov byte [ebp + ecx - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x33c]
push eax
call fcn.004403a0
add esp, 8
test eax, eax
jne 0x4a1c5b
mov dword [ebp - 0x470], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.00409680
mov eax, dword [ebp - 0x470]
jmp 0x4a1c8c
mov dword [ebp - 0x474], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.00409680
mov eax, dword [ebp - 0x474]
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