Function at 0x6c785d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
and dword [ebp - 8], edi
push 0x5a
pop esi
cmp dword [ebp + 0xc], edi
jne 0x6c7879
xor eax, eax
jmp 0x6c7ae5
push ebx
cmp dword [ebp + 0x10], edi
je 0x6c7ae2
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x6c7ae2
push 8
push str.sha256__
push dword [ebp + 0xc]
call fcn.0074fcb0
add esp, 0xc
test eax, eax
jne 0x6c79de
mov eax, dword [0x904f1c]
cmp dword [eax + 0x58], edi
je 0x6c7ae2
push 0x20
call dword [0x904f04]
mov edi, eax
pop ecx
test edi, edi
je 0x6c794d
mov eax, dword [0x904f1c]
push 0x20
push edi
push ebx
push dword [ebp + 0x10]
call dword [eax + 0x58]
add esp, 0x10
test eax, eax
jne 0x6c7ae4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x20
push edi
push dword [ebp + 8]
call fcn.006e091e
push edi
mov ebx, eax
call dword [0x904f08]
add esp, 0x18
test ebx, ebx
je 0x6c790d
mov eax, ebx
jmp 0x6c7ae4
push dword [ebp - 4]
push str._t_public_key_hash:_sha256___s_n
push dword [ebp + 8]
call fcn.006cd0b1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6c7926
sub ecx, edx
lea edi, [ecx + 1]
push edi
call dword [0x904f04]
mov ebx, eax
mov dword [ebp - 0x10], ebx
pop ecx
test ebx, ebx
jne 0x6c7955
push dword [ebp - 4]
call dword [0x904f08]
pop ecx
push 0x1b
pop eax
jmp 0x6c7ae4
push edi
push dword [ebp + 0xc]
push ebx
call fcn.007390e0
add esp, 0xc
push str._sha256__
push ebx
call fcn.0073a530
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x6c7978
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 0x6c7980
sub ecx, ebx
mov ebx, dword [ebp - 4]
cmp dword [ebp - 0xc], ecx
jne 0x6c79a2
push dword [ebp - 0xc]
push edx
push ebx
call fcn.00738138
add esp, 0xc
test eax, eax
je 0x6c79da
test edi, edi
je 0x6c79bf
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0073a530
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x6c7962
mov ebx, dword [ebp - 4]
push ebx
call dword [0x904f08]
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [0x904f08]
pop ecx
pop ecx
jmp 0x6c7ae2
xor esi, esi
jmp 0x6c79bf
push 0x7f54e8
push dword [ebp + 0xc]
call fcn.006dc4b7
mov dword [ebp + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x6c7ae2
push 2
push 0
push eax
call fcn.00742fc0
add esp, 0xc
test eax, eax
jne 0x6c7ac3
push dword [ebp + 0xc]
call fcn.00750412
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.00742fc0
add esp, 0x10
test eax, eax
jne 0x6c7ac3
mov eax, dword [ebp - 0x10]
cmp eax, 0x100000
ja 0x6c7ac3
cdq
push edx
push eax
call fcn.0054a864
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
cmp ebx, eax
ja 0x6c7ac3
inc eax
push eax
call dword [0x904f04]
mov edi, eax
pop ecx
test edi, edi
je 0x6c7ac3
push dword [ebp + 0xc]
push 1
push dword [ebp - 0xc]
push edi
call fcn.00742b27
add esp, 0x10
cmp eax, 1
jne 0x6c7ac3
mov eax, dword [ebp - 0xc]
cmp ebx, eax
jne 0x6c7a8f
push ebx
push edi
push dword [ebp + 0x10]
call fcn.00738138
add esp, 0xc
test eax, eax
jne 0x6c7ac3
xor esi, esi
jmp 0x6c7ac3
mov byte [eax + edi], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.006c84f2
add esp, 0xc
test eax, eax
jne 0x6c7ac3
cmp ebx, dword [ebp - 4]
jne 0x6c7ac3
push ebx
push dword [ebp - 8]
push dword [ebp + 0x10]
call fcn.00738138
xor ecx, ecx
add esp, 0xc
test eax, eax
cmove esi, ecx
push edi
call dword [0x904f08]
push dword [ebp - 8]
call dword [0x904f08]
push dword [ebp + 0xc]
and dword [ebp - 8], 0
call fcn.0074226b
add esp, 0xc
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret