Function at 0x4d8500
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 0x4d856d
push edi
push str.Check360Signed:_CreateFile
call fcn.00407f30
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 0x4d8598
push edi
push str.Check360Signed:dwBytesLen___LastSignLen
jmp 0x4d86fe
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 0x4d85e6
mov eax, dword [esp + 0x1bc]
push eax
push 0x55e7f0
jmp 0x4d86fe
push 0x55e7ec
push ebp
call edi
mov edi, eax
test edi, edi
jne 0x4d8606
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:_pSignCharEnd
jmp 0x4d86fe
mov edx, edi
lea eax, [esp + 0x34]
sub edx, eax
add edx, 3
cmp edx, 0x100
je 0x4d862b
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:_pSignCharEnd___base64__3____LastSignLen
jmp 0x4d86fe
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 0x4d8659
mov eax, dword [esp + 0x1bc]
push eax
push str.Check360Signed:dwDataLen___1000000
jmp 0x4d86fe
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d8706
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.0047f4f0
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], 0x51dbfc
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x80
call fcn.004aa940
add esp, 0xc
test eax, eax
jne 0x4d8727
mov ecx, dword [esp + 0x1bc]
push ecx
push str.Check360Signed:0__check_sign_signdata_
call fcn.00407f30
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4d871a
push ebx
call fcn.00512b1a
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.00512b1a
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret