Function at 0x140005400
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x140a480a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
test rdx, rdx
je 0x1400054cf
mov r14, r8
mov esi, 0x5a
test r8, r8
je 0x1400054d1
mov rbx, r9
test r9, r9
je 0x1400054d1
mov rdi, rdx
mov r15, rcx
lea rdx, str.sha256__
mov r8d, 8
mov rcx, rdi
call fcn.1408950f0
test eax, eax
je 0x1400054f1
lea rdx, [0x1408d79ed]
mov rcx, rdi
call fcn.140024720
test rax, rax
je 0x1400054d1
mov rdi, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.140889a14
mov esi, 0x5a
test eax, eax
je 0x140005564
mov rcx, r15
call qword [fcn.140884858]
mov rcx, qword [rsp + 0x38]
call qword [fcn.140884858]
mov qword [rsp + 0x38], 0
mov rcx, rdi
call fcn.1408890c8
jmp 0x1400054d1
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14087bc90
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [0x140a48180]
cmp qword [rax + 0xb8], 0
je 0x1400055ec
mov ecx, 0x20
call qword [fcn.14088486c]
mov esi, reloc.WLDAP32.dll_Ordinal_27
test rax, rax
je 0x1400054d1
mov r12, rax
mov rax, qword [0x140a48180]
mov r9d, 0x20
mov rcx, r14
mov rdx, rbx
mov r8, r12
call qword [rax + 0xb8]
test eax, eax
je 0x1400055f6
mov esi, eax
mov rcx, r12
call qword [fcn.140884858]
jmp 0x1400054d1
mov rcx, rdi
call fcn.140895790
mov ebp, eax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.140889a14
cmp ebp, 0x100000
ja 0x1400054a8
test eax, eax
jne 0x1400054a8
mov ecx, ebp
call fcn.140016a90
cmp rax, rbx
jb 0x14000570b
mov r12, rax
lea rcx, [rax + 1]
call qword [fcn.14088486c]
test rax, rax
je 0x14000570b
mov r15, rax
mov r8d, 1
mov rcx, rax
mov rdx, r12
mov r9, rdi
call fcn.140894ea8
cmp eax, 1
jne 0x1400054a8
cmp r12, rbx
jne 0x140005752
mov rcx, r14
mov rdx, r15
jmp 0x140005784
mov esi, 0x5a
jmp 0x1400054d1
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, 0x20
mov rcx, r12
call fcn.140024ba0
mov esi, eax
mov rcx, r12
call qword [fcn.140884858]
test esi, esi
jne 0x1400054d1
test r15, r15
je 0x140005643
cmp byte [r15 + 0xaaf], 0
je 0x140005643
mov r8, qword [rsp + 0x28]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.140004380
mov rcx, rdi
call fcn.140894ba0
mov rsi, rax
inc rsi
mov rcx, rsi
call qword [fcn.14088486c]
test rax, rax
je 0x14000573d
mov rbx, rax
mov rcx, rax
mov rdx, rdi
mov r8, rsi
call fcn.14087ec10
lea rsi, str._sha256__
lea rdi, str.sha256__
mov r15, rbx
jmp 0x14000569e
mov byte [r14], 0x3b
mov rcx, r14
mov rdx, rdi
call fcn.1408806fc
mov r15, rax
test rax, rax
je 0x140005713
mov rcx, r15
mov rdx, rsi
call fcn.1408806fc
mov r14, rax
test rax, rax
je 0x1400056cd
mov byte [r14], 0
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call fcn.140894ba0
cmp r12, rax
jne 0x140005687
jmp 0x1400056e3
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call fcn.140894ba0
cmp r12, rax
jne 0x140005713
mov r13, qword [rsp + 0x28]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140880b40
test r14, r14
je 0x1400056ff
test eax, eax
jne 0x140005687
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x14000571d
xor r15d, r15d
jmp 0x1400054a8
mov esi, 0x5a
mov r13, qword [rsp + 0x28]
mov rcx, r13
call qword [fcn.140884858]
mov qword [rsp + 0x28], 0
mov rcx, rbx
call qword [fcn.140884858]
jmp 0x1400054d1
mov rcx, qword [rsp + 0x28]
call qword [fcn.140884858]
mov esi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400054d1
mov byte [r15 + r12], 0
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.1400057a0
test eax, eax
jne 0x1400054a8
cmp qword [rsp + 0x30], rbx
jne 0x1400054a8
mov rdx, qword [rsp + 0x38]
mov rcx, r14
mov r8, rbx
call fcn.140880b40
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x1400054a8