Function at 0x429850
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 0x42987a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
je 0x429c73
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x429c73
push 8
push str.sha256__
push esi
call fcn.00477d30
add esp, 0xc
test eax, eax
jne 0x429aa1
mov eax, dword [0x4c0064]
cmp dword [eax + 0x5c], 0
je 0x429c73
mov esi, dword [fcn.0047e230]
mov ecx, esi
push 0x20
call dword [0x4a2398]
call esi
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x429990
push 0x20
push eax
mov eax, dword [0x4c0064]
push edi
push ebx
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x4a2398]
call esi
add esp, 0x10
test eax, eax
jne 0x429c78
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.00442320
add esp, 0x14
mov edi, eax
push esi
mov esi, dword [fcn.0047dab0]
mov ecx, esi
call dword [0x4a2398]
call esi
add esp, 4
test edi, edi
je 0x429938
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.00438730
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 0x429951
mov esi, dword [fcn.0047e230]
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, esi
push ebx
call dword [0x4a2398]
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x42999c
push dword [ebp - 8]
mov esi, dword [fcn.0047dab0]
mov ecx, esi
call dword [0x4a2398]
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.00474370
add esp, 0xc
nop word [eax + eax]
push str._sha256__
push esi
call fcn.00474cc0
mov edi, eax
add esp, 8
test edi, edi
je 0x4299c7
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 0x4299d0
mov ebx, dword [ebp - 8]
sub ecx, edx
mov edx, dword [ebp - 0x14]
cmp edx, ecx
jne 0x429a3b
mov ecx, ebx
sub edx, 4
jb 0x429a01
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x429a0a
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4299f0
cmp edx, 0xfffffffc
je 0x429a98
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x429a3b
cmp edx, 0xfffffffd
je 0x429a98
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x429a3b
cmp edx, 0xfffffffe
je 0x429a98
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x429a3b
cmp edx, 0xffffffff
je 0x429a98
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x429a98
test edi, edi
je 0x429a5d
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.00474cc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4299b0
mov ebx, dword [ebp - 8]
mov esi, dword [fcn.0047dab0]
mov ecx, esi
push ebx
call dword [0x4a2398]
call esi
mov esi, dword [fcn.0047dab0]
add esp, 4
mov ecx, esi
mov dword [ebp - 8], 0
push dword [ebp - 0x10]
call dword [0x4a2398]
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 0x429a5d
push 0x4a49dc
push esi
call fcn.0047fa63
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
je 0x429c73
push 2
push 0
push esi
call fcn.0047df90
add esp, 0xc
test eax, eax
jne 0x429ba1
push esi
call fcn.00480165
push 0
push 0
push dword [ebp - 0x10]
mov esi, eax
call fcn.0047df90
add esp, 0x10
test eax, eax
jne 0x429ba1
cmp esi, 0x100000
ja 0x429ba1
mov eax, esi
cdq
push edx
push eax
call fcn.0043abc0
add esp, 8
mov dword [ebp - 0x14], eax
cmp edi, eax
ja 0x429ba1
mov esi, dword [fcn.0047e230]
inc eax
push eax
mov ecx, esi
call dword [0x4a2398]
call esi
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x429ba1
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push 1
push esi
push eax
call fcn.0047f7b0
add esp, 0x10
cmp eax, 1
jne 0x429ba1
cmp edi, esi
jne 0x429be6
mov ecx, dword [ebp - 8]
sub edi, 4
jb 0x429b68
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x429b6d
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x429b57
cmp edi, 0xfffffffc
je 0x429b9a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x429ba1
cmp edi, 0xfffffffd
je 0x429b9a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x429ba1
cmp edi, 0xfffffffe
je 0x429b9a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x429ba1
cmp edi, 0xffffffff
je 0x429b9a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
jne 0x429ba1
mov dword [ebp - 4], 0
push dword [ebp - 8]
mov esi, dword [fcn.0047dab0]
mov ecx, esi
call dword [0x4a2398]
call esi
mov esi, dword [fcn.0047dab0]
add esp, 4
mov ecx, esi
push dword [ebp - 0xc]
call dword [0x4a2398]
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], 0
call fcn.0047cb48
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.0042a920
add esp, 0xc
test eax, eax
jne 0x429ba1
cmp edi, dword [ebp - 0x18]
jne 0x429ba1
mov ecx, dword [ebp - 0xc]
sub edi, 4
jb 0x429c21
nop
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x429c2a
add ebx, 4
add ecx, 4
sub edi, 4
jae 0x429c10
cmp edi, 0xfffffffc
je 0x429b9a
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x429c67
cmp edi, 0xfffffffd
je 0x429b9a
mov al, byte [ebx + 1]
cmp al, byte [ecx + 1]
jne 0x429c67
cmp edi, 0xfffffffe
je 0x429b9a
mov al, byte [ebx + 2]
cmp al, byte [ecx + 2]
jne 0x429c67
cmp edi, 0xffffffff
je 0x429b9a
mov al, byte [ebx + 3]
cmp al, byte [ecx + 3]
je 0x429b9a
mov dword [ebp - 4], 0x5a
jmp 0x429ba1
mov eax, 0x5a
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret