Function at 0x424700
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 0x42472a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x424b23
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x424b23
push 8
push str.sha256__
push esi
call fcn.00470010
add esp, 0xc
test eax, eax
jne 0x424951
mov eax, dword [0x4b8064]
cmp dword [eax + 0x5c], 0
je 0x424b23
mov esi, dword [fcn.004747c0]
mov ecx, esi
push 0x20
call dword [0x498390]
call esi
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x424840
push 0x20
push eax
mov eax, dword [0x4b8064]
push edi
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x498390]
call esi
add esp, 0x10
test eax, eax
jne 0x424b28
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.0043d1d0
add esp, 0x14
mov edi, eax
push esi
mov esi, dword [fcn.00474120]
mov ecx, esi
call dword [0x498390]
call esi
add esp, 4
test edi, edi
je 0x4247e8
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.004335e0
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 0x424801
mov esi, dword [fcn.004747c0]
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, esi
push ebx
call dword [0x498390]
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x42484c
push dword [ebp - 8]
mov esi, dword [fcn.00474120]
mov ecx, esi
call dword [0x498390]
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.0046cdb0
add esp, 0xc
nop word [eax + eax]
push str._sha256__
push esi
call fcn.0046d700
mov edi, eax
add esp, 8
test edi, edi
je 0x424877
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 0x424880
mov ebx, dword [ebp - 8]
sub ecx, edx
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x4248eb
mov ecx, ebx
sub edx, 4
jb 0x4248b1
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4248ba
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4248a0
cmp edx, 0xfffffffc
je 0x424948
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x4248eb
cmp edx, 0xfffffffd
je 0x424948
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x4248eb
cmp edx, 0xfffffffe
je 0x424948
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4248eb
cmp edx, 0xffffffff
je 0x424948
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x424948
test edi, edi
je 0x42490d
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.0046d700
mov esi, eax
add esp, 8
test esi, esi
jne 0x424860
mov ebx, dword [ebp - 8]
mov esi, dword [fcn.00474120]
mov ecx, esi
push ebx
call dword [0x498390]
call esi
mov esi, dword [fcn.00474120]
add esp, 4
mov ecx, esi
mov dword [ebp - 8], 0
push dword [ebp - 0x10]
call dword [0x498390]
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 0x42490d
push 0x49a90c
push esi
call fcn.00475fd3
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x424b23
push 2
push 0
push esi
call fcn.004745c0
add esp, 0xc
test eax, eax
jne 0x424a51
push esi
call fcn.0047666d
push 0
push 0
push dword [ebp - 0x10]
mov esi, eax
call fcn.004745c0
add esp, 0x10
test eax, eax
jne 0x424a51
cmp esi, 0x100000
ja 0x424a51
mov eax, esi
cdq
push edx
push eax
call fcn.00435a70
add esp, 8
mov dword [ebp - 0x14], eax
cmp edi, eax
ja 0x424a51
mov esi, dword [fcn.004747c0]
inc eax
push eax
mov ecx, esi
call dword [0x498390]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x424a51
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.00475d20
add esp, 0x10
cmp eax, 1
jne 0x424a51
cmp edi, esi
jne 0x424a96
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x424a18
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x424a1d
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x424a07
cmp edi, 0xfffffffc
je 0x424a4a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x424a51
cmp edi, 0xfffffffd
je 0x424a4a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x424a51
cmp edi, 0xfffffffe
je 0x424a4a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x424a51
cmp edi, 0xffffffff
je 0x424a4a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x424a51
mov dword [ebp - 4], 0
push dword [ebp - 8]
mov esi, dword [fcn.00474120]
mov ecx, esi
call dword [0x498390]
call esi
mov esi, dword [fcn.00474120]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
call dword [0x498390]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call fcn.004732e1
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.004257d0
add esp, 0xc
test eax, eax
jne 0x424a51
cmp edi, dword [ebp - 0x18]
jne 0x424a51
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x424ad1
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x424ada
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x424ac0
cmp edi, 0xfffffffc
je 0x424a4a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x424b17
cmp edi, 0xfffffffd
je 0x424a4a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x424b17
cmp edi, 0xfffffffe
je 0x424a4a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x424b17
cmp edi, 0xffffffff
je 0x424a4a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x424a4a
mov dword [ebp - 4], 0x5a
jmp 0x424a51
mov eax, 0x5a
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret