Function at 0x467a32
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x4084
call fcn.00497c60
mov dword [esp + 8], edx
mov esi, dword [esp + 0x40a4]
mov ebx, ecx
lea ebp, [esp + 0x80]
mov eax, dword [0x42b238]
mov dword [esp + 0x4080], eax
mov dword [esi], 0
push ebx
push 0x4000
push 1
push ebp
call fcn.004a6ec0
add esp, 0x10
mov edi, eax
push ebx
call fcn.004a666f
add esp, 4
test edi, edi
js 0x467be0
cmp edi, 0x4000
je 0x467be0
cmp edi, 2
mov dword [esi], str.file_format_error
jl 0x467be6
mov al, byte [esp + 0x80]
test al, al
jne 0x467be6
mov bl, byte [esp + 0x81]
cmp bl, 3
je 0x467ac8
test bl, bl
jne 0x467be6
cmp edi, 6
jl 0x467be6
cmp byte [esp + 0x82], 0
jne 0x467be6
cmp byte [esp + 0x83], 0
jne 0x467be6
cmp byte [esp + 0x84], 0
jne 0x467be6
cmp byte [esp + 0x85], 0
jne 0x467be6
lea eax, [edi - 6]
lea ecx, [esp + 0x86]
push 1
push 0
push dword [esp + 0x10]
push eax
push ecx
call fcn.00469cdc
add esp, 0x14
test eax, eax
js 0x467be6
mov ecx, dword [esp + eax + 0x86]
bswap ecx
push ecx
mov dword [esp + 8], eax
call fcn.0043b2d8
add esp, 4
test eax, eax
js 0x467be6
mov edx, dword [esp + 4]
mov ecx, edi
add edx, 0xa
sub ecx, edx
cmp ecx, eax
mov ecx, edx
jl 0x467be6
mov byte [esp + 3], bl
xor ebx, ebx
mov dword [esp + 4], ecx
lea ecx, [eax + 1]
mov dword [esp + 0xc], eax
inc ebx
push ebx
push ecx
call fcn.0043f807
add esp, 8
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x467bab
mov eax, dword [esp + 4]
lea eax, [esp + eax + 0x80]
push dword [esp + 0xc]
push eax
push ecx
call fcn.0049a1f0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x409c]
test eax, eax
je 0x467bcc
push ecx
call fcn.0043f79e
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x409c]
mov dword [edx], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x4098]
test eax, eax
je 0x467c0f
mov dword [eax + 0x20], ecx
jmp 0x467c1f
mov dword [esi], str.error_reading_file
xor ebx, ebx
push 0x4000
push ebp
call fcn.0048f5d3
add esp, 8
mov ecx, dword [esp + 0x4080]
call fcn.00497c4a
mov eax, ebx
add esp, 0x4084
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.0043f9d4
mov edx, dword [esp + 0x409c]
add esp, 4
test edx, edx
jne 0x467be8
cmp dword [esp + 8], 0
je 0x467dca
mov eax, dword [esp + 0xc]
add eax, dword [esp + 4]
cmp byte [esp + 3], 0
mov dword [esp + 0xc], eax
je 0x467cb5
lea eax, [esp + 0x14]
push eax
call fcn.00466c84
add esp, 4
push dword [esp + 0x40a0]
call fcn.004a7f30
add esp, 4
push eax
push dword [esp + 0x40a4]
lea eax, [esp + 0x1c]
push eax
call fcn.00466c9e
add esp, 0xc
lea ecx, [esp + 0x14]
lea eax, [esp + 0x70]
push ecx
push eax
call fcn.004674df
add esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [edi + 7]
sub eax, ecx
lea ecx, [esp + ecx + 0x80]
and eax, 0xfffffff8
push eax
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.0045f734
add esp, 0xc
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.0048f5d3
add esp, 8
mov ecx, dword [esp + 0xc]
mov eax, edi
sub eax, ecx
cmp eax, 4
jl 0x467be6
mov al, byte [esp + ecx + 0x80]
cmp al, byte [esp + ecx + 0x82]
jne 0x467ddf
mov al, byte [esp + ecx + 0x81]
cmp al, byte [esp + ecx + 0x83]
jne 0x467ddf
lea edx, [ecx + 4]
mov eax, edi
lea ecx, [esp + ecx + 0x84]
mov dword [esp + 4], edx
sub eax, edx
push dword [esp + 8]
push eax
push ecx
call fcn.00469dda
add esp, 0xc
mov ecx, eax
test eax, eax
js 0x467be6
mov edx, ecx
mov eax, dword [esp + 8]
mov ecx, edi
add edx, dword [esp + 4]
lea eax, [eax + 0x1c]
sub ecx, edx
mov dword [esp + 4], edx
lea edx, [esp + edx + 0x80]
push eax
push ecx
push edx
call fcn.0045d990
add esp, 0xc
mov ecx, eax
test eax, eax
js 0x467be6
mov edx, ecx
mov eax, dword [esp + 8]
mov ecx, edi
add edx, dword [esp + 4]
lea eax, [eax + 0x18]
sub ecx, edx
mov dword [esp + 4], edx
lea edx, [esp + edx + 0x80]
push eax
push ecx
push edx
call fcn.0045d990
add esp, 0xc
test eax, eax
js 0x467be6
mov ecx, dword [esp + 8]
add eax, dword [esp + 4]
lea ecx, [ecx + 0x14]
sub edi, eax
lea eax, [esp + eax + 0x80]
push ecx
push edi
push eax
call fcn.0045d990
add esp, 0xc
test eax, eax
js 0x467be6
push dword [esp + 8]
call fcn.0046a547
add esp, 4
test eax, eax
jne 0x467be8
mov dword [esi], str.rsa_verify_failed
push dword [esp + 8]
call fcn.0046a736
add esp, 4
jmp 0x467be6
xor ebx, ebx
cmp byte [esp + 3], 0
mov dword [esi], 0
setne bl
jmp 0x467be8
xor ebx, ebx
mov dword [esi], str.wrong_passphrase
dec ebx
jmp 0x467be8