Function at 0x140129600
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor eax, eax
mov qword [rbp - 9], rax
mov dword [rbp - 1], eax
mov r9, qword [rcx]
lea edx, [rax + 0xc]
lea r8d, [rax + 1]
lea rcx, [rbp - 9]
call fcn.14019a348
movzx eax, word [rbp - 5]
mov word [rbp - 0x39], ax
movzx eax, byte [rbp - 4]
mov byte [rbp - 0x39], al
movzx eax, byte [rbp - 5]
mov byte [rbp - 0x38], al
movzx eax, word [rbp - 0x39]
mov word [rbp - 5], ax
xor r14d, r14d
movzx edi, r14w
cmp r14w, ax
jae 0x1401298c0
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov r9, qword [rsi]
lea edx, [rax + 0x10]
lea r8d, [rax + 1]
lea rcx, [rbp + 7]
call fcn.14019a348
mov qword [rbp + 0x2f], InitCommonControls
mov qword [rbp + 0x27], r14
mov byte [rbp + 0x17], 0
xor r8d, r8d
lea rdx, [0x1402118aa]
lea rcx, [rbp + 0x17]
call fcn.140126d60
nop
movzx r8d, byte [rbp + 7]
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.14012ab10
movzx r8d, byte [rbp + 8]
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.14012ab10
movzx r8d, byte [rbp + 9]
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.14012ab10
movzx r8d, byte [rbp + 0xa]
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.14012ab10
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x29]
call fcn.14012a780
lea rbx, [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140129726
mov rax, qword [rax]
mov rbx, qword [rbx]
mov r8d, 4
cmp rbx, r8
cmovb r8, rbx
test r8, r8
je 0x14012974e
lea rdx, str.name
mov rcx, rax
call fcn.14018f3b0
test eax, eax
jne 0x140129765
cmp rbx, 4
jae 0x140129759
or eax, 0xffffffff
jmp 0x140129763
mov eax, r14d
cmp rbx, 4
seta al
test eax, eax
sete bl
mov rax, qword [rbp - 0x11]
cmp rax, 0x10
jb 0x1401297b4
inc rax
mov rcx, qword [rbp - 0x29]
cmp rax, 0xffffffffffffffff
ja 0x140129824
cmp rax, 0x1000
jb 0x1401297af
test cl, 0x1f
jne 0x14012981e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140129818
sub rcx, rax
cmp rcx, 8
jb 0x140129812
cmp rcx, 0x27
ja 0x14012980c
mov rcx, rax
call fcn.140185a8c
test bl, bl
jne 0x140129848
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
jb 0x140129800
inc rax
mov rcx, qword [rbp + 0x17]
cmp rax, 0xffffffffffffffff
ja 0x140129842
cmp rax, 0x1000
jb 0x1401297fb
test cl, 0x1f
jne 0x14012983c
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140129836
sub rcx, rax
cmp rcx, 8
jb 0x140129830
cmp rcx, 0x27
ja 0x14012982a
mov rcx, rax
call fcn.140185a8c
inc di
cmp di, word [rbp - 5]
jmp 0x140129678
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
nop
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
int3
call fcn.140190574
nop
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.140129900
movzx ebx, al
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1401298bb
inc rdx
mov rcx, qword [rbp + 0x17]
cmp rdx, 0xffffffffffffffff
jbe 0x140129874
call fcn.140190574
int3
cmp rdx, 0x1000
jb 0x1401298b6
test byte [rbp + 0x17], 0x1f
je 0x140129889
call fcn.140190574
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140129898
call fcn.140190574
int3
sub rcx, rax
cmp rcx, 8
jae 0x1401298a7
call fcn.140190574
int3
cmp rcx, 0x27
jbe 0x1401298b3
call fcn.140190574
int3
mov rcx, rax
call fcn.140185a8c
movzx eax, bl
jmp 0x1401298db
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401298d6
cmp byte [rsi + 0x129], 0
jne 0x1401298d6
call fcn.14019a494
mov qword [rsi], r14
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret