Function at 0x140022c5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor esi, esi
mov rbx, r9
and qword [rbp - 0x20], rsi
mov r12, r8
mov r14, rdx
mov r15, rcx
lea edi, [rsi + 0x5a]
test rdx, rdx
jne 0x140022c96
xor eax, eax
jmp 0x140022f26
test r12, r12
je 0x140022f24
test rbx, rbx
je 0x140022f24
mov r8d, 8
lea rdx, str.sha256__
mov rcx, r14
call fcn.1400c5ff0
test eax, eax
jne 0x140022e1c
mov rax, qword [0x14016a028]
cmp qword [rax + 0xb8], rsi
je 0x140022f24
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [section..data]
mov rsi, rax
test rax, rax
jne 0x140022cf6
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140022f26
mov rax, qword [0x14016a028]
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
test eax, eax
jne 0x140022f26
lea rax, [rbp - 0x18]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea r9, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r15
call fcn.14003da2c
mov rcx, rsi
mov ebx, eax
call qword [str._P_t_]
test ebx, ebx
je 0x140022d4e
mov eax, ebx
jmp 0x140022f26
mov r8, qword [rbp + 0x38]
lea rdx, str._t_public_key_hash:_sha256___s_n
mov rcx, r15
call fcn.140029c14
mov rcx, r14
call fcn.1400b39f0
mov rbx, rax
lea rcx, [rax + 1]
call qword [section..data]
mov r15, rax
test rax, rax
jne 0x140022d8d
mov rcx, qword [rbp + 0x38]
call qword [str._P_t_]
jmp 0x140022cec
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, r15
call fcn.140087d60
mov rsi, r15
lea rdx, str._sha256__
mov rcx, rsi
call fcn.1400883c8
mov rbx, rax
test rax, rax
je 0x140022db9
mov byte [rax], 0
lea rcx, [rsi + 8]
call fcn.1400b39f0
mov r8, qword [rbp - 0x18]
cmp r8, rax
jne 0x140022ddc
mov rcx, qword [rbp + 0x38]
lea rdx, [rsi + 8]
call fcn.140088300
test eax, eax
je 0x140022dfd
test rbx, rbx
je 0x140022dff
lea rdx, str.sha256__
mov byte [rbx], Ordinal_60
mov rcx, rbx
call fcn.1400883c8
mov rsi, rax
test rax, rax
je 0x140022dff
jmp 0x140022d9f
xor edi, edi
mov rcx, qword [rbp + 0x38]
call qword [str._P_t_]
and qword [rbp + 0x38], 0
mov rcx, r15
call qword [str._P_t_]
jmp 0x140022f24
lea rdx, [0x140118a60]
mov rcx, r14
call fcn.1400b3f6c
mov r15, rax
test rax, rax
je 0x140022f24
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1400addec
test eax, eax
jne 0x140022f04
mov rcx, r15
call fcn.1400cbbe4
xor r8d, r8d
movsxd r14, eax
xor edx, edx
mov rcx, r15
call fcn.1400addec
test eax, eax
jne 0x140022f04
cmp r14d, 0x100000
ja 0x140022f04
mov rcx, r14
call fcn.14002bd50
mov r14, rax
cmp rbx, rax
ja 0x140022f04
lea rcx, [rax + 1]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140022f04
mov r9, r15
mov r8d, 1
mov rdx, r14
mov rcx, rax
call fcn.1400ae40c
cmp eax, 1
jne 0x140022f04
cmp rbx, r14
jne 0x140022ed0
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.140088300
test eax, eax
jne 0x140022f04
xor edi, edi
jmp 0x140022f04
lea r8, [rbp - 0x10]
mov byte [r14 + rsi], 0
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140023c80
test eax, eax
jne 0x140022f04
cmp rbx, qword [rbp - 0x10]
jne 0x140022f04
mov rdx, qword [rbp - 0x20]
mov r8, rbx
mov rcx, r12
call fcn.140088300
neg eax
sbb ecx, ecx
and edi, ecx
mov rcx, rsi
call qword [str._P_t_]
mov rcx, qword [rbp - 0x20]
call qword [str._P_t_]
and qword [rbp - 0x20], 0
mov rcx, r15
call fcn.1400ae820
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret