Function at 0x27067d02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push 0x5a
pop eax
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], eax
cmp ebx, edi
jne 0x27067d24
xor eax, eax
jmp 0x27067f52
cmp dword [ebp + 0x10], edi
je 0x27067f52
cmp dword [ebp + 0x14], edi
je 0x27067f52
push 8
push str.sha256__
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x27067e6f
mov eax, dword [0x270b3860]
cmp dword [eax + 0x5c], edi
jne 0x27067d60
push 0x5a
pop eax
jmp 0x27067f52
push 0x20
call dword [0x270b3874]
mov esi, eax
pop ecx
test esi, esi
jne 0x27067d73
push 0x1b
jmp 0x27067d5a
mov eax, dword [0x270b3860]
push 0x20
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [eax + 0x5c]
add esp, 0x10
test eax, eax
jne 0x27067f52
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20
mov eax, esi
call fcn.270781c3
add esp, 0xc
push esi
mov edi, eax
call dword [0x270b3878]
pop ecx
test edi, edi
je 0x27067db8
mov eax, edi
jmp 0x27067f52
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
push str._t_public_key_hash:_sha256___s_n
call fcn.2706622a
push ebx
call sub.msvcrt.dll_strlen
mov esi, eax
add esp, 0xc
inc esi
push esi
call dword [0x270b3874]
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x27067df4
push dword [ebp - 4]
call dword [0x270b3878]
pop ecx
jmp 0x27067d6f
push esi
push ebx
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push str._sha256__
push edi
call sub.msvcrt.dll_strstr
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x27067e15
mov byte [esi], 0
add edi, 8
push edi
call sub.msvcrt.dll_strlen
pop ecx
cmp dword [ebp - 8], eax
jne 0x27067e37
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x27067e53
test esi, esi
je 0x27067e57
push str.sha256__
push esi
mov byte [esi], 0x3b
call sub.msvcrt.dll_strstr
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x27067dff
jmp 0x27067e57
and dword [ebp + 0xc], 0
push dword [ebp - 4]
call dword [0x270b3878]
pop ecx
push dword [ebp - 0xc]
call dword [0x270b3878]
jmp 0x27067f4e
push 0x270a7e64
push ebx
call fcn.2707403a
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 8], ebx
cmp ebx, edi
je 0x27067d58
push 2
push edi
push ebx
call sub.msvcrt.dll_fseek
add esp, 0xc
test eax, eax
jne 0x27067f34
push ebx
call sub.msvcrt.dll_ftell
pop ecx
push 0
push 0
push ebx
mov esi, eax
call sub.msvcrt.dll_fseek
add esp, 0xc
test eax, eax
jne 0x27067f34
cmp esi, 0x100000
ja 0x27067f34
mov eax, esi
cdq
push edx
push eax
call fcn.270667ed
mov ebx, dword [ebp + 0x14]
mov esi, eax
add esp, 8
cmp ebx, esi
ja 0x27067f34
lea eax, [esi + 1]
push eax
call dword [0x270b3874]
mov edi, eax
pop ecx
test edi, edi
je 0x27067f34
push dword [ebp - 8]
push 1
push esi
push edi
call sub.msvcrt.dll_fread
add esp, 0x10
cmp eax, 1
jne 0x27067f34
cmp ebx, esi
jne 0x27067f02
push ebx
push edi
jmp 0x27067f22
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov byte [esi + edi], 0
call fcn.27067c5a
pop ecx
pop ecx
test eax, eax
jne 0x27067f34
cmp ebx, dword [ebp - 0xc]
jne 0x27067f34
push ebx
push dword [ebp - 4]
push dword [ebp + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x27067f34
and dword [ebp + 0xc], eax
push edi
call dword [0x270b3878]
pop ecx
push dword [ebp - 4]
call dword [0x270b3878]
pop ecx
push dword [ebp - 8]
call sub.msvcrt.dll_fclose
mov eax, dword [ebp + 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret