Function at 0x1401f3a40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x1402326d0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov rcx, qword [rbp + 0x1f0]
mov rsi, r9
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov r12, r8
mov qword [rsp + 0x38], rcx
mov edi, ecx
mov qword [rsp + 0x30], rcx
mov r15d, ecx
mov qword [rdx], rcx
mov qword [rsp + 0x48], rdx
test r8, r8
jne 0x1401f3aa4
xor eax, eax
jmp 0x1401f3dad
mov rcx, r14
mov qword [rsp + 0x290], rbx
call fcn.1401f3a00
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1401f3ac9
lea eax, [rbx + 0x1b]
jmp 0x1401f3da5
lea r9, [0x14029bf60]
test rsi, rsi
lea r8, [0x14029bf48]
cmovne r9, rsi
lea rcx, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.1401f3540
mov esi, eax
test eax, eax
je 0x1401f3b05
mov rcx, rbx
call qword [fcn.1401a0974]
mov eax, esi
jmp 0x1401f3da5
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x288], r13
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
nop dword [rax]
test rdi, rdi
je 0x1401f3b4a
lea r8, [0x140250018]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov rbx, qword [rsp + 0x40]
lea r8, [0x14029bf40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rbx
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
lea r8, [0x14029bf18]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
movsxd r9, dword [r12 + 0x10]
mov r8, qword [r12 + 8]
lea rax, [rsp + 0x30]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.1401f33a0
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
lea r8, [0x14028117c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
cmp qword [r12 + 0x48], 0
je 0x1401f3c20
mov rcx, r15
call qword [fcn.1401a0974]
mov rcx, r14
call fcn.1401f3a00
mov r15, rax
test rax, rax
je 0x1401f3f86
lea r8, [0x14029bee8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rax
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov r13, r12
cmp qword [r12 + 0x48], 0
je 0x1401f3c66
lea r8, [0x14029bec0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, r15
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401f36e0
mov ebx, eax
test eax, eax
jmp 0x1401f3c91
mov eax, dword [r12 + 0x50]
test al, 0x51
je 0x1401f3c97
cmp qword [r12 + 0x58], 0
jne 0x1401f3c7b
test al, 1
je 0x1401f3c8f
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.1401f36e0
mov ebx, eax
test ebx, ebx
jne 0x1401f3d7a
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x1401f3cc0
lea r8, [0x14029bea8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov rdi, qword [r13 + 0x40]
test rdi, rdi
je 0x1401f3cfe
nop dword [rax]
mov r9, qword [rdi]
lea r8, [0x14029bea0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1401f3cd0
jmp 0x1401f3d02
test ebx, ebx
jne 0x1401f3d7a
lea r8, [0x140250010]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov eax, dword [r12 + 0x50]
test al, 1
jne 0x1401f3e1c
test al, 2
jne 0x1401f3e1c
test al, 0x10
je 0x1401f3dcd
movsxd r9, dword [r12 + 0x30]
mov r8, qword [r12 + 0x28]
lea rax, [rsp + 0x30]
mov edx, 2
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
call fcn.1401f33a0
mov ebx, eax
mov rdi, qword [rsp + 0x48]
mov r13, qword [r13 + 0x48]
test r13, r13
je 0x1401f3f3b
test ebx, ebx
je 0x1401f3c23
mov rsi, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1401f35b0
mov rcx, r15
call qword [fcn.1401a0974]
mov rcx, rsi
call qword [fcn.1401a0974]
mov eax, ebx
mov r13, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x290]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14019e850
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
test al, 0x40
je 0x1401f3dfa
test al, al
jns 0x1401f3ddc
mov r9, qword [r12 + 0x68]
jmp 0x1401f3de1
movsxd r9, dword [r12 + 0x20]
mov r8, qword [r12 + 0x60]
lea rax, [rsp + 0x30]
mov edx, 3
mov qword [rsp + 0x20], rax
jmp 0x1401f3d54
test al, al
jns 0x1401f3e0d
mov r9, qword [r12 + 0x68]
mov r8, qword [r12 + 0x18]
jmp 0x1401f3d45
movsxd r9, dword [r12 + 0x20]
mov r8, qword [r12 + 0x18]
jmp 0x1401f3d45
mov rax, qword [r13 + 0x18]
lea rsi, [0x14028fdc4]
mov ecx, 2
mov rdi, rax
repe cmpsb byte [rsi], byte [rdi]
jne 0x1401f3e3a
call fcn.1401a749c
jmp 0x1401f3e49
lea rdx, [0x140290dc4]
mov rcx, rax
call fcn.14019f288
mov rdi, rax
test rax, rax
je 0x1401f3f0d
call fcn.1401a749c
cmp rdi, rax
je 0x1401f3e81
mov rcx, rdi
call fcn.14019eb08
mov r8, qword [r13 + 0x18]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
lea edx, [r9 + 4]
jmp 0x1401f3d54
lea rcx, [rsp + 0x70]
mov r9, rdi
mov edx, 1
mov r8d, 0x200
call fcn.14019ee50
test rax, rax
je 0x1401f3d60
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x70]
mov r9, rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x38]
mov edx, 2
call fcn.1401f33a0
mov ebx, eax
test eax, eax
jne 0x1401f3d60
mov rcx, rdi
call fcn.1401a5a9c
test eax, eax
jne 0x1401f3d60
mov rcx, rdi
call fcn.1401a5ac4
test eax, eax
jne 0x1401f3d60
lea edx, [rbx + 1]
lea rcx, [rsp + 0x70]
mov r9, rdi
mov r8d, 0x200
call fcn.14019ee50
test rax, rax
jne 0x1401f3ea2
jmp 0x1401f3d60
test r14, r14
je 0x1401f3f25
mov r8, qword [r13 + 0x18]
lea rdx, [0x14029be88]
mov rcx, r14
call fcn.1401c7400
mov rdi, qword [rsp + 0x48]
mov ebx, reloc.WLDAP32.dll_Ordinal_26
mov qword [rdi], 0
jmp 0x1401f3d65
test ebx, ebx
jne 0x1401f3d7a
cmp qword [r12 + 0x48], 0
je 0x1401f3f6e
lea r8, [0x14029be78]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, r15
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7a
mov r12, qword [r12]
test r12, r12
je 0x1401f3f90
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
jmp 0x1401f3b20
mov ebx, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401f3d7a
test ebx, ebx
jne 0x1401f3d7a
mov rsi, qword [rsp + 0x40]
lea r8, [0x14029be68]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov r9, rsi
call fcn.1401f3540
mov ebx, eax
test eax, eax
jne 0x1401f3d7f
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov rcx, r15
call qword [fcn.1401a0974]
mov rcx, rsi
call qword [fcn.1401a0974]
mov rdx, qword [rsp + 0x50]
xor eax, eax
mov qword [rdi], rdx
jmp 0x1401f3d9d