Function at 0x975ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x5a
cmp ebx, eax
jne 0x975cc2
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp edi, eax
je 0x975fea
mov esi, dword [ebp + 0x14]
cmp esi, eax
je 0x975fea
push 8
push str.sha256__
push ebx
call fcn.0096bb78
add esp, 0xc
test eax, eax
jne 0x975e88
mov eax, dword [0x9fd354]
cmp dword [eax + 0x5c], 0
je 0x975fea
push 0x20
call dword [0x9fd33c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x975da3
mov ecx, dword [0x9fd354]
mov edx, dword [ecx + 0x5c]
push 0x20
push ebx
push esi
push edi
call edx
add esp, 0x10
test eax, eax
jne 0x975fef
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x20
push ebx
call fcn.0098f2a0
push ebx
mov esi, eax
call dword [0x9fd340]
add esp, 0x14
test esi, esi
je 0x975d5a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push edx
push str._public_key_hash:_sha256___s
push eax
call fcn.0097e570
mov ebx, dword [ebp + 0xc]
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x975d77
sub eax, edx
lea esi, [eax + 1]
push esi
call dword [0x9fd33c]
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
test edi, edi
jne 0x975daf
mov ecx, dword [ebp - 4]
push ecx
call dword [0x9fd340]
add esp, 4
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call fcn.0095d180
add esp, 0xc
mov esi, edi
lea esp, [esp]
push str._sha256__
push esi
call fcn.0095e060
mov edi, eax
add esp, 8
test edi, edi
je 0x975dd7
mov byte [edi], 0
lea edx, [esi + 8]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x975de0
sub ecx, esi
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
jne 0x975e38
mov esi, dword [ebp - 4]
cmp ecx, 4
jb 0x975e14
lea ebx, [ebx]
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x975e38
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x975e00
test ecx, ecx
je 0x975e59
mov al, byte [edx]
cmp al, byte [esi]
jne 0x975e38
cmp ecx, 1
jbe 0x975e59
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x975e38
cmp ecx, 2
jbe 0x975e59
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x975e59
test edi, edi
je 0x975e60
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0095e060
mov esi, eax
add esp, 8
test esi, esi
jne 0x975dc0
jmp 0x975e60
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call dword [0x9fd340]
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], 0
call dword [0x9fd340]
mov eax, dword [ebp - 8]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x9e5748
push ebx
call fcn.0098f410
mov ebx, eax
add esp, 8
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x975fea
push 2
push 0
push ebx
call fcn.009bc461
add esp, 0xc
test eax, eax
jne 0x975fb9
push ebx
call fcn.009bc372
push 0
push 0
push ebx
mov edi, eax
call fcn.009bc461
add esp, 0x10
test eax, eax
jne 0x975fb9
cmp edi, 0x100000
ja 0x975fb9
mov eax, edi
cdq
push edx
push eax
call fcn.009808f0
mov edi, eax
add esp, 8
cmp esi, edi
ja 0x975fb9
lea ecx, [edi + 1]
push ecx
call dword [0x9fd33c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x975fbc
mov edx, dword [ebp + 0xc]
push edx
push 1
push edi
push ebx
call fcn.009bbef5
add esp, 0x10
cmp eax, 1
jne 0x975fbc
cmp esi, edi
jne 0x975f79
mov edi, dword [ebp + 0x10]
mov eax, esi
mov ecx, ebx
cmp esi, 4
jb 0x975f4c
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x975fbc
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x975f38
test eax, eax
je 0x975f70
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x975fbc
cmp eax, 1
jbe 0x975f70
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x975fbc
cmp eax, 2
jbe 0x975f70
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x975fbc
mov dword [ebp - 8], 0
jmp 0x975fbc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
mov byte [edi + ebx], 0
call fcn.00975bd0
add esp, 8
test eax, eax
jne 0x975fbc
cmp esi, dword [ebp - 0x10]
jne 0x975fbc
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x10]
mov eax, esi
cmp esi, 4
jb 0x975f4c
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x975fbc
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x975fa3
jmp 0x975f4c
mov ebx, dword [ebp - 4]
push ebx
call dword [0x9fd340]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x9fd340]
mov edx, dword [ebp + 0xc]
push edx
mov dword [ebp - 0xc], 0
call fcn.0096f854
mov eax, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret