Function at 0x426560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x5a
test esi, esi
jne 0x42658a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x426983
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x426983
push 8
push str.sha256__
push esi
call fcn.00472f10
add esp, 0xc
test eax, eax
jne 0x4267b1
mov eax, dword [0x4bd064]
cmp dword [eax + 0x5c], 0
je 0x426983
mov esi, dword [fcn.00477700]
mov ecx, esi
push 0x20
call dword [0x49b388]
call esi
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4266a0
push 0x20
push eax
mov eax, dword [0x4bd064]
push edi
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 0x10
test eax, eax
jne 0x426988
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x20
push esi
push ebx
call fcn.0043f040
add esp, 0x14
mov edi, eax
push esi
mov esi, dword [fcn.00477060]
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 4
test edi, edi
je 0x426648
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push str._t_public_key_hash:_sha256___s_n
push ebx
call fcn.00435440
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426661
mov esi, dword [fcn.00477700]
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, esi
push ebx
call dword [0x49b388]
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x4266ac
push dword [ebp - 8]
mov esi, dword [fcn.00477060]
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 4
pop edi
pop ebx
mov eax, 0x1b
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call fcn.0046fcb0
add esp, 0xc
nop word [eax + eax]
push str._sha256__
push esi
call fcn.00470600
mov edi, eax
add esp, 8
test edi, edi
je 0x4266d7
mov byte [edi], 0
add esi, 8
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4266e0
mov ebx, dword [ebp - 8]
sub ecx, edx
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x42674b
mov ecx, ebx
sub edx, 4
jb 0x426711
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x42671a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x426700
cmp edx, 0xfffffffc
je 0x4267a8
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x42674b
cmp edx, 0xfffffffd
je 0x4267a8
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x42674b
cmp edx, 0xfffffffe
je 0x4267a8
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x42674b
cmp edx, 0xffffffff
je 0x4267a8
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x4267a8
test edi, edi
je 0x42676d
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.00470600
mov esi, eax
add esp, 8
test esi, esi
jne 0x4266c0
mov ebx, dword [ebp - 8]
mov esi, dword [fcn.00477060]
mov ecx, esi
push ebx
call dword [0x49b388]
call esi
mov esi, dword [fcn.00477060]
add esp, 4
mov ecx, esi
mov dword [ebp - 8], 0
push dword [ebp - 0x10]
call dword [0x49b388]
call esi
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
jmp 0x42676d
push 0x49d9bc
push esi
call fcn.00478f13
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x426983
push 2
push 0
push esi
call fcn.00477500
add esp, 0xc
test eax, eax
jne 0x4268b1
push esi
call fcn.004795ad
push 0
push 0
push dword [ebp - 0x10]
mov esi, eax
call fcn.00477500
add esp, 0x10
test eax, eax
jne 0x4268b1
cmp esi, 0x100000
ja 0x4268b1
mov eax, esi
cdq
push edx
push eax
call fcn.004378d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp edi, eax
ja 0x4268b1
mov esi, dword [fcn.00477700]
inc eax
push eax
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x4268b1
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.00478c60
add esp, 0x10
cmp eax, 1
jne 0x4268b1
cmp edi, esi
jne 0x4268f6
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x426878
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x42687d
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x426867
cmp edi, 0xfffffffc
je 0x4268aa
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x4268b1
cmp edi, 0xfffffffd
je 0x4268aa
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x4268b1
cmp edi, 0xfffffffe
je 0x4268aa
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x4268b1
cmp edi, 0xffffffff
je 0x4268aa
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x4268b1
mov dword [ebp - 4], 0
push dword [ebp - 8]
mov esi, dword [fcn.00477060]
mov ecx, esi
call dword [0x49b388]
call esi
mov esi, dword [fcn.00477060]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
call dword [0x49b388]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call fcn.004761e1
mov eax, dword [ebp - 4]
add esp, 8
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov byte [esi + eax], 0
call fcn.00427630
add esp, 0xc
test eax, eax
jne 0x4268b1
cmp edi, dword [ebp - 0x18]
jne 0x4268b1
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x426931
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x42693a
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x426920
cmp edi, 0xfffffffc
je 0x4268aa
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x426977
cmp edi, 0xfffffffd
je 0x4268aa
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x426977
cmp edi, 0xfffffffe
je 0x4268aa
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x426977
cmp edi, 0xffffffff
je 0x4268aa
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x4268aa
mov dword [ebp - 4], 0x5a
jmp 0x4268b1
mov eax, 0x5a
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret