Function at 0x548db6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor edi, edi
and dword [ebp - 8], edi
push 0x5a
pop esi
cmp dword [ebp + 0xc], edi
jne 0x548dd2
xor eax, eax
jmp 0x54903e
push ebx
cmp dword [ebp + 0x10], edi
je 0x54903b
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x54903b
push 8
push str.sha256__
push dword [ebp + 0xc]
call fcn.0051b9d0
add esp, 0xc
test eax, eax
jne 0x548f37
mov eax, dword [0x6672cc]
cmp dword [eax + 0x5c], edi
je 0x54903b
push 0x20
call dword [0x6672b4]
mov edi, eax
pop ecx
test edi, edi
je 0x548ea6
mov eax, dword [0x6672cc]
push 0x20
push edi
push ebx
push dword [ebp + 0x10]
call dword [eax + 0x5c]
add esp, 0x10
test eax, eax
jne 0x54903d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x20
push edi
push dword [ebp + 8]
call fcn.0056152c
push edi
mov ebx, eax
call dword [0x6672b8]
add esp, 0x18
test ebx, ebx
je 0x548e66
mov eax, ebx
jmp 0x54903d
push dword [ebp - 4]
push str._t_public_key_hash:_sha256___s_n
push dword [ebp + 8]
call fcn.0054f067
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548e7f
sub ecx, edx
lea edi, [ecx + 1]
push edi
call dword [0x6672b4]
mov ebx, eax
mov dword [ebp - 0x10], ebx
pop ecx
test ebx, ebx
jne 0x548eae
push dword [ebp - 4]
call dword [0x6672b8]
pop ecx
push 0x1b
pop eax
jmp 0x54903d
push edi
push dword [ebp + 0xc]
push ebx
call fcn.0050ac70
add esp, 0xc
push str._sha256__
push ebx
call fcn.0050d4f0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x548ed1
mov byte [edi], 0
lea edx, [ebx + 8]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x548ed9
sub ecx, ebx
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0xc], ecx
jne 0x548efb
push dword [ebp - 0xc]
push edx
push ebx
call fcn.0050ba8a
add esp, 0xc
test eax, eax
je 0x548f33
test edi, edi
je 0x548f18
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0050d4f0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x548ebb
mov ebx, dword [ebp - 4]
push ebx
call dword [0x6672b8]
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [0x6672b8]
pop ecx
pop ecx
jmp 0x54903b
xor esi, esi
jmp 0x548f18
push 0x61fd20
push dword [ebp + 0xc]
call fcn.00514a00
mov dword [ebp + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x54903b
push 2
push 0
push eax
call fcn.00514836
add esp, 0xc
test eax, eax
jne 0x54901c
push dword [ebp + 0xc]
call fcn.0051339c
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.00514836
add esp, 0x10
test eax, eax
jne 0x54901c
mov eax, dword [ebp - 0x10]
cmp eax, 0x100000
ja 0x54901c
cdq
push edx
push eax
call fcn.00550ef8
mov dword [ebp - 0x10], eax
pop ecx
pop ecx
cmp ebx, eax
ja 0x54901c
inc eax
push eax
call dword [0x6672b4]
mov edi, eax
pop ecx
test edi, edi
je 0x54901c
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x10]
push edi
call fcn.005144b1
add esp, 0x10
cmp eax, 1
jne 0x54901c
mov eax, dword [ebp - 0x10]
cmp ebx, eax
jne 0x548fe8
push ebx
push edi
push dword [ebp + 0x10]
call fcn.0050ba8a
add esp, 0xc
test eax, eax
jne 0x54901c
xor esi, esi
jmp 0x54901c
mov byte [eax + edi], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.00549a04
add esp, 0xc
test eax, eax
jne 0x54901c
cmp ebx, dword [ebp - 0x14]
jne 0x54901c
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.0050ba8a
xor ecx, ecx
add esp, 0xc
test eax, eax
cmove esi, ecx
push edi
call dword [0x6672b8]
push dword [ebp - 8]
call dword [0x6672b8]
push dword [ebp + 0xc]
and dword [ebp - 8], 0
call fcn.00513787
add esp, 0xc
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret