Function at 0x426150
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 0x42617a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x426573
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x426573
push 8
push str.sha256__
push esi
call fcn.00471a50
add esp, 0xc
test eax, eax
jne 0x4263a1
mov eax, dword [0x4bb064]
cmp dword [eax + 0x5c], 0
je 0x426573
mov esi, dword [fcn.00476200]
mov ecx, esi
push 0x20
call dword [0x49a38c]
call esi
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x426290
push 0x20
push eax
mov eax, dword [0x4bb064]
push edi
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x49a38c]
call esi
add esp, 0x10
test eax, eax
jne 0x426578
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.0043ec30
add esp, 0x14
mov edi, eax
push esi
mov esi, dword [fcn.00475b60]
mov ecx, esi
call dword [0x49a38c]
call esi
add esp, 4
test edi, edi
je 0x426238
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.00435040
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 0x426251
mov esi, dword [fcn.00476200]
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, esi
push ebx
call dword [0x49a38c]
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x42629c
push dword [ebp - 8]
mov esi, dword [fcn.00475b60]
mov ecx, esi
call dword [0x49a38c]
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.0046e7f0
add esp, 0xc
nop word [eax + eax]
push str._sha256__
push esi
call fcn.0046f140
mov edi, eax
add esp, 8
test edi, edi
je 0x4262c7
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 0x4262d0
mov ebx, dword [ebp - 8]
sub ecx, edx
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x42633b
mov ecx, ebx
sub edx, 4
jb 0x426301
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x42630a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4262f0
cmp edx, 0xfffffffc
je 0x426398
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x42633b
cmp edx, 0xfffffffd
je 0x426398
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x42633b
cmp edx, 0xfffffffe
je 0x426398
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x42633b
cmp edx, 0xffffffff
je 0x426398
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x426398
test edi, edi
je 0x42635d
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0046f140
mov esi, eax
add esp, 8
test esi, esi
jne 0x4262b0
mov ebx, dword [ebp - 8]
mov esi, dword [fcn.00475b60]
mov ecx, esi
push ebx
call dword [0x49a38c]
call esi
mov esi, dword [fcn.00475b60]
add esp, 4
mov ecx, esi
mov dword [ebp - 8], 0
push dword [ebp - 0x10]
call dword [0x49a38c]
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 0x42635d
push 0x49c90c
push esi
call fcn.00477a13
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x426573
push 2
push 0
push esi
call fcn.00476000
add esp, 0xc
test eax, eax
jne 0x4264a1
push esi
call fcn.004780ad
push 0
push 0
push dword [ebp - 0x10]
mov esi, eax
call fcn.00476000
add esp, 0x10
test eax, eax
jne 0x4264a1
cmp esi, 0x100000
ja 0x4264a1
mov eax, esi
cdq
push edx
push eax
call fcn.004374d0
add esp, 8
mov dword [ebp - 0x14], eax
cmp edi, eax
ja 0x4264a1
mov esi, dword [fcn.00476200]
inc eax
push eax
mov ecx, esi
call dword [0x49a38c]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x4264a1
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.00477760
add esp, 0x10
cmp eax, 1
jne 0x4264a1
cmp edi, esi
jne 0x4264e6
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x426468
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x42646d
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x426457
cmp edi, 0xfffffffc
je 0x42649a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x4264a1
cmp edi, 0xfffffffd
je 0x42649a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x4264a1
cmp edi, 0xfffffffe
je 0x42649a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x4264a1
cmp edi, 0xffffffff
je 0x42649a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x4264a1
mov dword [ebp - 4], 0
push dword [ebp - 8]
mov esi, dword [fcn.00475b60]
mov ecx, esi
call dword [0x49a38c]
call esi
mov esi, dword [fcn.00475b60]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
call dword [0x49a38c]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call fcn.00474d21
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.00427220
add esp, 0xc
test eax, eax
jne 0x4264a1
cmp edi, dword [ebp - 0x18]
jne 0x4264a1
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x426521
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x42652a
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x426510
cmp edi, 0xfffffffc
je 0x42649a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x426567
cmp edi, 0xfffffffd
je 0x42649a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x426567
cmp edi, 0xfffffffe
je 0x42649a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x426567
cmp edi, 0xffffffff
je 0x42649a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x42649a
mov dword [ebp - 4], 0x5a
jmp 0x4264a1
mov eax, 0x5a
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret