Function at 0x428ab0
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 0x428ada
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x428ed3
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x428ed3
push 8
push str.sha256__
push esi
call fcn.00476fa0
add esp, 0xc
test eax, eax
jne 0x428d01
mov eax, dword [0x4bf064]
cmp dword [eax + 0x5c], 0
je 0x428ed3
mov esi, dword [fcn.0047d4a0]
mov ecx, esi
push 0x20
call dword [0x4a1398]
call esi
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x428bf0
push 0x20
push eax
mov eax, dword [0x4bf064]
push edi
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x4a1398]
call esi
add esp, 0x10
test eax, eax
jne 0x428ed8
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.00441590
add esp, 0x14
mov edi, eax
push esi
mov esi, dword [fcn.0047cd20]
mov ecx, esi
call dword [0x4a1398]
call esi
add esp, 4
test edi, edi
je 0x428b98
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.00437990
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 0x428bb1
mov esi, dword [fcn.0047d4a0]
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, esi
push ebx
call dword [0x4a1398]
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x428bfc
push dword [ebp - 8]
mov esi, dword [fcn.0047cd20]
mov ecx, esi
call dword [0x4a1398]
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.004735e0
add esp, 0xc
nop word [eax + eax]
push str._sha256__
push esi
call fcn.00473f30
mov edi, eax
add esp, 8
test edi, edi
je 0x428c27
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 0x428c30
mov ebx, dword [ebp - 8]
sub ecx, edx
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x428c9b
mov ecx, ebx
sub edx, 4
jb 0x428c61
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x428c6a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x428c50
cmp edx, 0xfffffffc
je 0x428cf8
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x428c9b
cmp edx, 0xfffffffd
je 0x428cf8
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x428c9b
cmp edx, 0xfffffffe
je 0x428cf8
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x428c9b
cmp edx, 0xffffffff
je 0x428cf8
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x428cf8
test edi, edi
je 0x428cbd
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.00473f30
mov esi, eax
add esp, 8
test esi, esi
jne 0x428c10
mov ebx, dword [ebp - 8]
mov esi, dword [fcn.0047cd20]
mov ecx, esi
push ebx
call dword [0x4a1398]
call esi
mov esi, dword [fcn.0047cd20]
add esp, 4
mov ecx, esi
mov dword [ebp - 8], 0
push dword [ebp - 0x10]
call dword [0x4a1398]
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 0x428cbd
push 0x4a39dc
push esi
call fcn.0047ecd3
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x428ed3
push 2
push 0
push esi
call fcn.0047d200
add esp, 0xc
test eax, eax
jne 0x428e01
push esi
call fcn.0047f3d4
push 0
push 0
push dword [ebp - 0x10]
mov esi, eax
call fcn.0047d200
add esp, 0x10
test eax, eax
jne 0x428e01
cmp esi, 0x100000
ja 0x428e01
mov eax, esi
cdq
push edx
push eax
call fcn.00439e20
add esp, 8
mov dword [ebp - 0x14], eax
cmp edi, eax
ja 0x428e01
mov esi, dword [fcn.0047d4a0]
inc eax
push eax
mov ecx, esi
call dword [0x4a1398]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x428e01
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.0047ea20
add esp, 0x10
cmp eax, 1
jne 0x428e01
cmp edi, esi
jne 0x428e46
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x428dc8
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x428dcd
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x428db7
cmp edi, 0xfffffffc
je 0x428dfa
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x428e01
cmp edi, 0xfffffffd
je 0x428dfa
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x428e01
cmp edi, 0xfffffffe
je 0x428dfa
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x428e01
cmp edi, 0xffffffff
je 0x428dfa
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x428e01
mov dword [ebp - 4], 0
push dword [ebp - 8]
mov esi, dword [fcn.0047cd20]
mov ecx, esi
call dword [0x4a1398]
call esi
mov esi, dword [fcn.0047cd20]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
call dword [0x4a1398]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call fcn.0047bdb8
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.00429b80
add esp, 0xc
test eax, eax
jne 0x428e01
cmp edi, dword [ebp - 0x18]
jne 0x428e01
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x428e81
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x428e8a
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x428e70
cmp edi, 0xfffffffc
je 0x428dfa
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x428ec7
cmp edi, 0xfffffffd
je 0x428dfa
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x428ec7
cmp edi, 0xfffffffe
je 0x428dfa
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x428ec7
cmp edi, 0xffffffff
je 0x428dfa
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x428dfa
mov dword [ebp - 4], 0x5a
jmp 0x428e01
mov eax, 0x5a
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret