Function at 0x484990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x5a
push esi
push edi
test ebx, ebx
jne 0x4849c3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test edi, edi
je 0x484d2e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x484d2e
push 8
push str.sha256__
push ebx
call fcn.004e1350
add esp, 0xc
test eax, eax
jne 0x484b84
mov eax, dword [0x5449f4]
cmp dword [eax + 0x5c], 0
je 0x484d2e
push 0x20
call dword [0x5449e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x484a9f
mov eax, dword [0x5449f4]
push 0x20
push ebx
push esi
mov eax, dword [eax + 0x5c]
push edi
call eax
add esp, 0x10
test eax, eax
jne 0x484d33
lea eax, [ebp - 4]
mov edx, ebx
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20
call fcn.004a2000
add esp, 0xc
mov esi, eax
push ebx
call dword [0x5449e8]
add esp, 4
test esi, esi
je 0x484a5c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
push ebx
push str._public_key_hash:_sha256___s
push dword [ebp - 0x10]
call fcn.00479f40
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484a78
sub ecx, edx
lea edi, [ecx + 1]
push edi
call dword [0x5449e0]
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x484aab
push ebx
call dword [0x5449e8]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push eax
call fcn.004c0200
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [ebp - 4]
lea esp, [esp]
push str._sha256__
push esi
call fcn.004b63b0
mov edi, eax
add esp, 8
test edi, edi
je 0x484ad7
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 0x484ae0
sub ecx, edx
cmp ebx, ecx
jne 0x484b3a
mov ecx, dword [ebp - 0xc]
mov edx, ebx
sub edx, 4
jb 0x484b08
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x484b0d
add ecx, 4
add esi, 4
sub edx, 4
jae 0x484af7
cmp edx, 0xfffffffc
je 0x484b5b
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x484b3a
cmp edx, 0xfffffffd
je 0x484b5b
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x484b3a
cmp edx, 0xfffffffe
je 0x484b5b
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x484b3a
cmp edx, 0xffffffff
je 0x484b5b
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x484b5b
test edi, edi
je 0x484b62
push str.sha256__
push edi
mov byte [edi], 0x3b
call fcn.004b63b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x484ac0
jmp 0x484b62
mov dword [ebp - 8], 0
push dword [ebp - 0xc]
call dword [0x5449e8]
add esp, 4
push dword [ebp - 0x10]
call dword [0x5449e8]
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x52e200
mov ecx, ebx
call fcn.0048ab20
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x484d2e
push 2
push 0
push ebx
call fcn.004f7fb6
add esp, 0xc
test eax, eax
jne 0x484c7a
push ebx
call fcn.004f7986
add esp, 4
mov ebx, eax
push 0
push 0
push dword [ebp - 0x10]
call fcn.004f7fb6
add esp, 0xc
test eax, eax
jne 0x484c7a
cmp ebx, 0x100000
ja 0x484c7a
mov eax, ebx
cdq
push edx
push eax
call fcn.0047a740
mov ebx, eax
add esp, 8
cmp esi, ebx
ja 0x484c7a
lea eax, [ebx + 1]
push eax
call dword [0x5449e0]
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x484c7a
push dword [ebp - 0x10]
push 1
push ebx
push eax
call fcn.004f7b7a
add esp, 0x10
cmp eax, 1
jne 0x484c7a
cmp esi, ebx
jne 0x484ca8
mov ecx, dword [ebp - 0xc]
sub esi, 4
jb 0x484c41
nop
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x484c46
add edi, 4
add ecx, 4
sub esi, 4
jae 0x484c30
cmp esi, 0xfffffffc
je 0x484c73
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x484c7a
cmp esi, 0xfffffffd
je 0x484c73
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x484c7a
cmp esi, 0xfffffffe
je 0x484c73
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x484c7a
cmp esi, 0xffffffff
je 0x484c73
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
jne 0x484c7a
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [0x5449e8]
add esp, 4
push ebx
call dword [0x5449e8]
add esp, 4
push dword [ebp - 0x10]
call fcn.004f1413
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.004848c0
mov ebx, dword [ebp - 4]
add esp, 4
test eax, eax
jne 0x484c7d
cmp esi, dword [ebp - 0x14]
jne 0x484c7d
mov ecx, ebx
sub esi, 4
jb 0x484ce4
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x484ce9
add edi, 4
add ecx, 4
sub esi, 4
jae 0x484cd3
cmp esi, 0xfffffffc
je 0x484d22
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x484d16
cmp esi, 0xfffffffd
je 0x484d22
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x484d16
cmp esi, 0xfffffffe
je 0x484d22
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x484d16
cmp esi, 0xffffffff
je 0x484d22
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x484d22
mov dword [ebp - 8], 0x5a
jmp 0x484c7d
mov dword [ebp - 8], 0
jmp 0x484c7d
mov eax, 0x5a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret