Function at 0x4240a3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
push 0x5a
pop esi
test eax, eax
je 0x42432d
cmp dword [ebp + 8], ebx
je 0x42432b
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x42432b
push 8
push str.sha256__
push eax
call fcn.004d61c0
add esp, 0xc
test eax, eax
jne 0x424237
mov eax, dword [0x53ba04]
cmp dword [eax + 0x5c], ebx
je 0x42432b
push 0x20
call dword [0x53b9f0]
mov dword [ebp - 8], eax
pop ecx
test eax, eax
jne 0x424119
push 0x1b
pop eax
jmp 0x42432d
push 0x20
push eax
mov eax, dword [0x53ba04]
push edi
push dword [ebp + 8]
call dword [eax + 0x5c]
add esp, 0x10
test eax, eax
jne 0x42432d
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov edx, edi
push eax
push 0x20
call fcn.004031e2
add esp, 0xc
mov dword [ebp - 8], eax
push edi
call dword [0x53b9f4]
mov eax, dword [ebp - 8]
pop ecx
test eax, eax
jne 0x42432d
push dword [ebp - 4]
push str._public_key_hash:_sha256___s
push dword [ebp - 0x14]
call fcn.00416c42
mov edi, dword [ebp - 0x10]
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42417b
sub ecx, edx
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x14], eax
call dword [0x53b9f0]
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x4241a8
push dword [ebp - 4]
call dword [0x53b9f4]
pop ecx
jmp 0x424111
push dword [ebp - 0x14]
push edi
push eax
call fcn.004cc9b0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 8], eax
push str._sha256__
push eax
call fcn.004cc3e0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4241d0
mov byte [edi], bl
mov edx, dword [ebp - 8]
add edx, 8
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4241de
sub ecx, dword [ebp - 0x14]
cmp dword [ebp - 0xc], ecx
jne 0x424200
push dword [ebp - 0xc]
push edx
push dword [ebp - 4]
call fcn.004cd6cd
add esp, 0xc
test eax, eax
je 0x42421d
test edi, edi
je 0x42421f
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.004cc3e0
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
jne 0x4241bb
jmp 0x42421f
mov esi, ebx
push dword [ebp - 4]
call dword [0x53b9f4]
pop ecx
push dword [ebp - 0x10]
call dword [0x53b9f4]
jmp 0x42432a
mov ecx, dword [ebp - 0x10]
mov edx, 0x51bd7c
call fcn.00407285
mov dword [ebp - 8], eax
test eax, eax
je 0x42432b
push 2
push ebx
push eax
call fcn.004d817f
add esp, 0xc
test eax, eax
jne 0x424310
push dword [ebp - 8]
call fcn.004dca40
pop ecx
push ebx
push ebx
push dword [ebp - 8]
mov edi, eax
call fcn.004d817f
add esp, 0xc
test eax, eax
jne 0x424310
cmp edi, 0x100000
ja 0x424310
cmp dword [ebp + 0xc], edi
ja 0x424310
lea eax, [edi + 1]
push eax
call dword [0x53b9f0]
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x424310
push dword [ebp - 8]
push 1
push edi
push eax
call fcn.004d8366
add esp, 0x10
cmp eax, 1
jne 0x424310
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x4242d8
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004cd6cd
add esp, 0xc
test eax, eax
jne 0x424310
mov esi, ebx
jmp 0x424310
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
mov ecx, eax
mov byte [edi + eax], bl
call fcn.00423ff2
mov ebx, dword [ebp - 0xc]
pop ecx
test eax, eax
jne 0x424310
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x424310
push eax
push ebx
push dword [ebp + 8]
call fcn.004cd6cd
xor ecx, ecx
add esp, 0xc
test eax, eax
cmove esi, ecx
push dword [ebp - 4]
call dword [0x53b9f4]
pop ecx
push ebx
call dword [0x53b9f4]
pop ecx
push dword [ebp - 8]
call fcn.004cfecf
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret