Function at 0x411570
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
xor edi, edi
mov esi, eax
mov ebx, ecx
mov eax, 0x5a
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
cmp ebx, edi
jne 0x4115a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp ebp, edi
je 0x4118e0
cmp esi, edi
je 0x4118e0
push 8
push str.sha256__
push ebx
call fcn.00562b1e
add esp, 0xc
test eax, eax
jne 0x41173d
push 0x20
call dword [0x75ccc8]
mov edi, eax
add esp, 4
test edi, edi
je 0x41165c
push edi
push esi
push ebp
call fcn.004361e0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x20
mov eax, edi
mov esi, 0x71dad8
call fcn.004363c0
add esp, 0xc
push edi
mov esi, eax
call dword [0x75cccc]
add esp, 4
test esi, esi
jne 0x41172f
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push ebp
push str._t_public_key_hash:_sha256___s_n
call fcn.0040f940
mov eax, ebx
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411632
sub eax, edx
lea esi, [eax + 1]
push esi
call dword [0x75ccc8]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x411669
push ebp
call dword [0x75cccc]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push esi
push ebx
push edi
call fcn.0055f610
mov ebp, dword [esp + 0x28]
add esp, 0xc
mov esi, edi
lea ebx, [ebx]
push str._sha256__
push esi
call fcn.00567a40
mov edi, eax
add esp, 8
test edi, edi
je 0x411697
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 0x4116a0
sub ecx, esi
cmp ebp, ecx
jne 0x4116f0
mov esi, dword [esp + 0x10]
mov ecx, ebp
cmp ebp, 4
jb 0x4116cc
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x4116f0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4116b8
test ecx, ecx
je 0x411739
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4116f0
cmp ecx, 1
jbe 0x411739
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4116f0
cmp ecx, 2
jbe 0x411739
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x411739
test edi, edi
je 0x41170f
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.00567a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x411680
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [0x75cccc]
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [0x75cccc]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor esi, esi
jmp 0x411713
push 0x71f834
push ebx
call fcn.00560fdf
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
cmp ebx, edi
jne 0x411762
mov eax, 0x5a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 2
push edi
push ebx
call fcn.00560ac9
add esp, 0xc
test eax, eax
jne 0x4118b7
push ebx
call fcn.00562058
add esp, 4
push 0
push 0
push ebx
mov edi, eax
call fcn.00560ac9
add esp, 0xc
test eax, eax
jne 0x4118b7
cmp edi, 0x100000
ja 0x4118b7
cmp esi, edi
ja 0x4118b7
lea ecx, [edi + 1]
push ecx
call dword [0x75ccc8]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4118b7
push ebx
push 1
mov edx, eax
push edi
push edx
call fcn.00560efe
add esp, 0x10
cmp eax, 1
jne 0x4118b7
cmp esi, edi
jne 0x411842
mov ecx, dword [esp + 0x10]
mov eax, esi
mov edi, ebp
cmp esi, 4
jb 0x411808
lea esp, [esp]
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x4118b7
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x4117f0
test eax, eax
je 0x411838
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x4118b7
cmp eax, 1
jbe 0x411838
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x4118b7
cmp eax, 2
jbe 0x411838
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4118b7
mov dword [esp + 0x14], 0
jmp 0x4118b7
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [edi + ebx], 0
call fcn.004114a0
add esp, 8
test eax, eax
jne 0x4118b3
cmp esi, dword [esp + 0x20]
jne 0x4118b3
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edi, ebp
cmp esi, 4
jb 0x411887
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x4118b3
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x411873
test eax, eax
je 0x4118ab
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x4118b3
cmp eax, 1
jbe 0x4118ab
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x4118b3
cmp eax, 2
jbe 0x4118ab
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4118b3
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x75cccc]
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [0x75cccc]
add esp, 4
push ebx
call fcn.00560bc5
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret