Function at 0x4acdf6
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], 0
test ebx, ebx
je 0x4aceff
mov ebp, dword [esp + 0x2c]
mov esi, 0x5a
test ebp, ebp
je 0x4acf80
cmp dword [esp + 0x30], 0
je 0x4acf80
push 8
push 0x798688
push ebx
call fcn.00714b80
add esp, 0xc
test eax, eax
je 0x4acf03
push 0x79749e
push ebx
call fcn.004c0292
add esp, 8
test eax, eax
je 0x4acf80
mov edi, eax
push 2
push 0
push eax
call fcn.0070bbb1
add esp, 0xc
xor ebx, ebx
mov esi, 0x5a
test eax, eax
jne 0x4acf58
push edi
call fcn.007125d6
add esp, 4
mov ebx, eax
xor eax, eax
push eax
push eax
push edi
call fcn.0070bbb1
add esp, 0xc
cmp ebx, 0x100000
ja 0x4acf56
test eax, eax
jne 0x4acf56
push 0
push ebx
call fcn.004b6c77
add esp, 8
cmp eax, dword [esp + 0x30]
jb 0x4acf56
mov dword [esp + 8], eax
inc eax
push eax
call dword [0x7ec0dc]
add esp, 4
test eax, eax
je 0x4acf56
mov ebx, eax
push edi
push 1
push dword [esp + 0x10]
push eax
call fcn.00712290
add esp, 0x10
cmp eax, 1
jne 0x4acf58
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 8]
cmp ecx, eax
jne 0x4ad096
push eax
push ebx
jmp 0x4ad0c8
xor esi, esi
jmp 0x4acf80
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov ecx, dword [0x7ec390]
cmp dword [ecx + 0x5c], eax
je 0x4acf4f
push 0x20
call dword [0x7ec0dc]
add esp, 4
mov esi, 0x1b
test eax, eax
je 0x4acf80
mov edi, eax
mov eax, dword [0x7ec390]
push 0x20
push edi
push dword [esp + 0x38]
push ebp
call dword [eax + 0x5c]
add esp, 0x10
test eax, eax
je 0x4acf8a
mov esi, eax
push edi
call dword [0x7ec0e0]
jmp 0x4acf7d
mov esi, 0x5a
jmp 0x4acf80
xor ebx, ebx
push ebx
call dword [0x7ec0e0]
add esp, 4
push dword [esp + 0xc]
call dword [0x7ec0e0]
add esp, 4
mov dword [esp + 0xc], 0
push edi
call fcn.007116c3
add esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push 0x20
push edi
call fcn.004c7143
add esp, 0x10
mov esi, eax
push edi
call dword [0x7ec0e0]
add esp, 4
test esi, esi
jne 0x4acf80
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4acfcf
cmp byte [eax + 0x68b], 0
je 0x4acfcf
push dword [esp]
push str._public_key_hash:_sha256___s
push eax
call fcn.004abf96
add esp, 0xc
push ebx
call fcn.007149b0
add esp, 4
mov esi, eax
inc esi
push esi
call dword [0x7ec0dc]
add esp, 4
test eax, eax
je 0x4ad080
mov edi, eax
push esi
push ebx
push eax
call fcn.006fb4d0
add esp, 0xc
mov dword [esp + 8], edi
mov ebx, edi
push str._sha256__
push ebx
call fcn.006fbe20
add esp, 8
mov esi, eax
test eax, eax
je 0x4ad02d
mov byte [esi], 0
mov ebp, dword [esp + 4]
add ebx, 8
push ebx
call fcn.007149b0
add esp, 4
cmp ebp, eax
je 0x4ad041
jmp 0x4ad05f
mov ebp, dword [esp + 4]
add ebx, 8
push ebx
call fcn.007149b0
add esp, 4
cmp ebp, eax
jne 0x4ad076
mov edi, dword [esp]
push ebp
push ebx
push edi
call fcn.006f9e4d
add esp, 0xc
test esi, esi
je 0x4ad0e0
test eax, eax
je 0x4ad0e0
mov byte [esi], 0x3b
push 0x798688
push esi
call fcn.006fbe20
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4ad000
mov esi, 0x5a
mov edi, dword [esp]
jmp 0x4ad0ea
push dword [esp]
call dword [0x7ec0e0]
add esp, 4
mov esi, 0x1b
jmp 0x4acf80
mov byte [ebx + ecx], 0
lea eax, [esp + 4]
lea edx, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.004ad104
add esp, 4
test eax, eax
jne 0x4acf58
mov eax, dword [esp + 0x30]
cmp dword [esp + 4], eax
jne 0x4acf58
push eax
push dword [esp + 0x10]
push ebp
call fcn.006f9e4d
add esp, 0xc
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x4acf58
test eax, eax
mov esi, 0x5a
cmove esi, eax
push edi
call dword [0x7ec0e0]
add esp, 4
mov dword [esp], 0
push dword [esp + 8]
jmp 0x4acf47