Function at 0x4b0b50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x28]
cmp edi, ebx
mov eax, 0x5a
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
jne 0x4b0b78
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret
push ebp
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
push esi
je 0x4b0f9f
mov esi, dword [esp + 0x38]
cmp esi, ebx
je 0x4b0f9f
push 8
push str.sha256__
push edi
call fcn.0048d8c6
add esp, 0xc
test eax, eax
jne 0x4b0d6f
push 0x20
call dword [0x61f89c]
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4b0c42
push 0x20
push edi
push esi
push ebp
call fcn.004cb9e0
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x20
push edi
push ebx
call fcn.004cc250
push edi
mov esi, eax
call dword [0x61f8a0]
add esp, 0x28
test esi, esi
je 0x4b0bfa
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x10]
push edx
push str._t_public_key_hash:_sha256___s_n
push ebx
call fcn.004b97a0
mov edi, dword [esp + 0x3c]
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b0c16
sub eax, edx
lea esi, [eax + 1]
push esi
call dword [0x61f89c]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4b0c4f
mov eax, dword [esp + 0x10]
push eax
call dword [0x61f8a0]
add esp, 4
pop esi
pop ebp
pop edi
mov eax, 0x1b
pop ebx
add esp, 0x18
ret
push esi
push edi
push ebp
call fcn.00489dd0
add esp, 0xc
mov esi, ebp
lea esp, [esp]
push str._sha256__
push esi
call fcn.004e4fa0
add esp, 8
test eax, eax
je 0x4b0c75
mov byte [eax], 0
lea edx, [esi + 8]
mov ecx, edx
lea esi, [ecx + 1]
lea ecx, [ecx]
mov bl, byte [ecx]
add ecx, 1
test bl, bl
jne 0x4b0c80
sub ecx, esi
mov edi, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jne 0x4b0d1d
cmp ecx, 4
mov esi, dword [esp + 0x10]
jb 0x4b0cb6
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x4b0cba
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4b0ca2
test ecx, ecx
je 0x4b0d17
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4b0d09
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4b0d17
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4b0d09
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4b0d17
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4b0d09
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4b0d17
movzx edi, byte [esi]
movzx ecx, byte [edx]
sub edi, ecx
je 0x4b0d17
test edi, edi
mov ecx, 1
jg 0x4b0d19
or ecx, 0xffffffff
jmp 0x4b0d19
xor ecx, ecx
test ecx, ecx
je 0x4b0d3e
test eax, eax
je 0x4b0d46
push str.sha256__
push eax
mov byte [eax], 0x3b
call fcn.004e4fa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b0c60
jmp 0x4b0d46
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
push edx
call dword [0x61f8a0]
push ebp
mov dword [esp + 0x18], 0
call dword [0x61f8a0]
mov eax, dword [esp + 0x1c]
add esp, 8
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x18
ret
push 0x5ae1f8
push edi
call fcn.0048df35
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x30], ebx
jne 0x4b0d92
pop esi
pop ebp
pop edi
lea eax, [ebx + 0x5a]
pop ebx
add esp, 0x18
ret
push 2
push 0
push ebx
call fcn.0049398e
add esp, 0xc
test eax, eax
jne 0x4b0f74
push ebx
call fcn.004a4500
push 0
push 0
push ebx
mov edi, eax
call fcn.0049398e
add esp, 0x10
test eax, eax
jne 0x4b0f74
cmp edi, 0x100000
ja 0x4b0f74
mov eax, edi
cdq
push edx
push eax
call fcn.004c2560
mov edi, eax
add esp, 8
cmp esi, edi
ja 0x4b0f74
lea eax, [edi + 1]
push eax
call dword [0x61f89c]
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b0f74
push ebx
push 1
push edi
push eax
call fcn.0048e196
add esp, 0x10
cmp eax, 1
jne 0x4b0f74
cmp esi, edi
jne 0x4b0eb8
cmp esi, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
mov edx, ebp
jb 0x4b0e44
jmp 0x4b0e30
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4b0e48
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4b0e30
test eax, eax
je 0x4b0ea5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0e97
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0ea5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0e97
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0ea5
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0e97
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0ea5
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x4b0ea5
test esi, esi
mov eax, 1
jg 0x4b0ea7
or eax, 0xffffffff
jmp 0x4b0ea7
xor eax, eax
test eax, eax
jne 0x4b0f74
mov dword [esp + 0x14], eax
jmp 0x4b0f74
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [edi + ebx], 0
call fcn.004b0a80
add esp, 8
test eax, eax
jne 0x4b0f70
cmp esi, dword [esp + 0x24]
jne 0x4b0f70
cmp esi, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov edx, ebp
jb 0x4b0f05
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4b0f09
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4b0ef1
test eax, eax
je 0x4b0f66
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0f58
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0f66
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0f58
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0f66
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4b0f58
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4b0f66
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x4b0f66
test esi, esi
mov eax, 1
jg 0x4b0f68
or eax, 0xffffffff
jmp 0x4b0f68
xor eax, eax
test eax, eax
jne 0x4b0f70
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push edx
call dword [0x61f8a0]
mov eax, dword [esp + 0x20]
push eax
call dword [0x61f8a0]
push ebx
mov dword [esp + 0x28], 0
call fcn.0048ba88
mov eax, dword [esp + 0x20]
add esp, 0xc
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x18
ret