Function at 0x4d5a60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1a8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push 0x80
push 3
stosb byte es:[edi], al
mov edi, dword [esp + 0x1c8]
push ebx
push 1
push SysReAllocStringLen
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4d5acd
push edi
push str.Check360Signed:_CreateFile
call fcn.00407ea0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push esi
call ebp
cmp eax, 0x100
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x100
jge 0x4d5af8
push edi
push str.Check360Signed:dwBytesLen___LastSignLen
jmp 0x4d5c5e
push 2
push 0
push 0xffffff00
push esi
call ebp
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x3c]
push 0x100
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea edx, [esp + 0x34]
push str.____360sign_1:
push edx
call edi
mov ebp, eax
test ebp, ebp
jne 0x4d5b46
mov eax, dword [esp + 0x1bc]
push eax
push 0x5583e0
jmp 0x4d5c5e
push 0x5583dc
push ebp
call edi
mov edi, eax
test edi, edi
jne 0x4d5b66
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:_pSignCharEnd
jmp 0x4d5c5e
mov edx, edi
lea eax, [esp + 0x34]
sub edx, eax
add edx, 3
cmp edx, 0x100
je 0x4d5b8b
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:_pSignCharEnd___base64__3____LastSignLen
jmp 0x4d5c5e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
sub eax, edx
lea eax, [eax + ebp - 0x100]
cmp eax, 0xf4240
mov dword [esp + 0x10], eax
jbe 0x4d5bb9
mov eax, dword [esp + 0x1bc]
push eax
push str.Check360Signed:dwDataLen___1000000
jmp 0x4d5c5e
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d5c66
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [edi], 0
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
add ebp, 0xe
lea eax, [esp + 0x138]
push ebp
push eax
call fcn.0047cd50
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
lea edx, [esp + 0x140]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 0x517bcc
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x80
call fcn.004a8020
add esp, 0xc
test eax, eax
jne 0x4d5c87
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:0__check_sign_signdata_
call fcn.00407ea0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4d5c7a
push ebx
call fcn.0050c98e
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a8
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0050c98e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret