Function at 0xa46290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x5a
push esi
push edi
test ebx, ebx
jne 0xa462c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0xa4662e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0xa4662e
push 8
push str.sha256__
push ebx
call fcn.00a9ff20
add esp, 0xc
test eax, eax
jne 0xa46484
mov eax, dword [0xaf7990]
cmp dword [eax + 0x5c], 0
je 0xa4662e
push 0x20
call dword [0xaf797c]
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0xa4639d
push 0x20
push eax
mov eax, dword [0xaf7990]
push esi
push edi
mov eax, dword [eax + 0x5c]
call eax
add esp, 0x10
test eax, eax
jne 0xa46633
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
mov edx, 0x20
push eax
mov ecx, esi
call fcn.00a5b470
push esi
mov edi, eax
call dword [0xaf7984]
add esp, 0xc
test edi, edi
je 0xa4635d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xc]
push edi
push str._public_key_hash:_sha256___s
push dword [ebp - 0x14]
call fcn.00a54660
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xa46376
sub ecx, edx
lea esi, [ecx + 1]
push esi
call dword [0xaf797c]
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0xa463a9
push edi
call dword [0xaf7984]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push eax
call fcn.00a901e0
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [ebp - 4]
nop word [eax + eax]
push str._sha256__
push esi
call fcn.00a90fe0
mov edi, eax
add esp, 8
test edi, edi
je 0xa463d7
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 0xa463e0
sub ecx, edx
cmp ebx, ecx
jne 0xa4643a
mov ecx, dword [ebp - 0xc]
mov edx, ebx
sub edx, 4
jb 0xa46408
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0xa4640d
add ecx, 4
add esi, 4
sub edx, 4
jae 0xa463f7
cmp edx, 0xfffffffc
je 0xa4645b
mov al, byte [ecx]
cmp al, byte [esi]
jne 0xa4643a
cmp edx, 0xfffffffd
je 0xa4645b
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0xa4643a
cmp edx, 0xfffffffe
je 0xa4645b
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0xa4643a
cmp edx, 0xffffffff
je 0xa4645b
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0xa4645b
test edi, edi
je 0xa46462
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.00a90fe0
mov esi, eax
add esp, 8
test esi, esi
jne 0xa463c0
jmp 0xa46462
mov dword [ebp - 8], 0
push dword [ebp - 0xc]
call dword [0xaf7984]
add esp, 4
push dword [ebp - 0x10]
call dword [0xaf7984]
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0xac7744
mov ecx, ebx
call fcn.00a56500
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0xa4662e
push 2
push 0
push ebx
call fcn.00a9f92e
add esp, 0xc
test eax, eax
jne 0xa4657a
push ebx
call fcn.00a9ff10
add esp, 4
mov ebx, eax
push 0
push 0
push dword [ebp - 0x10]
call fcn.00a9f92e
add esp, 0xc
test eax, eax
jne 0xa4657a
cmp ebx, 0x100000
ja 0xa4657a
mov eax, ebx
cdq
push edx
push eax
call fcn.00a4a810
mov ebx, eax
add esp, 8
cmp esi, ebx
ja 0xa4657a
lea eax, [ebx + 1]
push eax
call dword [0xaf797c]
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0xa4657a
push dword [ebp - 0x10]
push 1
push ebx
push eax
call fcn.00a9f4ce
add esp, 0x10
cmp eax, 1
jne 0xa4657a
cmp esi, ebx
jne 0xa465a8
mov ecx, dword [ebp - 0xc]
sub esi, 4
jb 0xa46541
nop
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0xa46546
add edi, 4
add ecx, 4
sub esi, 4
jae 0xa46530
cmp esi, 0xfffffffc
je 0xa46573
mov al, byte [edi]
cmp al, byte [ecx]
jne 0xa4657a
cmp esi, 0xfffffffd
je 0xa46573
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0xa4657a
cmp esi, 0xfffffffe
je 0xa46573
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0xa4657a
cmp esi, 0xffffffff
je 0xa46573
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
jne 0xa4657a
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [0xaf7984]
add esp, 4
push ebx
call dword [0xaf7984]
add esp, 4
push dword [ebp - 0x10]
call fcn.00a9f5f4
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
mov ecx, eax
mov byte [ebx + eax], 0
call fcn.00a461c0
mov ebx, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0xa4657d
cmp esi, dword [ebp - 0x14]
jne 0xa4657d
mov ecx, ebx
sub esi, 4
jb 0xa465e4
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0xa465e9
add edi, 4
add ecx, 4
sub esi, 4
jae 0xa465d3
cmp esi, 0xfffffffc
je 0xa46622
mov al, byte [edi]
cmp al, byte [ecx]
jne 0xa46616
cmp esi, 0xfffffffd
je 0xa46622
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0xa46616
cmp esi, 0xfffffffe
je 0xa46622
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0xa46616
cmp esi, 0xffffffff
je 0xa46622
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0xa46622
mov dword [ebp - 8], 0x5a
jmp 0xa4657d
mov dword [ebp - 8], 0
jmp 0xa4657d
mov eax, 0x5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret