Function at 0x140014ac0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rbp - 8], rcx
mov rcx, qword [rdx + 8]
test rcx, rcx
lea rax, [0x140027aa0]
mov qword [rbp], rax
cmove rcx, rax
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rdx
mov ecx, dword [rdx]
call fcn.140014f80
add eax, 0xfffffcf7
cmp eax, 0x21
ja 0x140014b28
mov eax, eax
lea rcx, [0x140029248]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp 0x140014b2f
lea rax, [0x140028010]
mov qword [rbp - 0x10], rax
xor esi, esi
lea r13, str._s:__s___s__n
lea rdi, [0x140027a98]
lea r14, [0x140026904]
lea r12, [rbp - 0x50]
jmp 0x140014b91
mov r15d, dword [rbx + 4]
add rbx, 0xc
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rbx
mov r8d, r15d
lea r9, [rbp - 0x38]
call sub.KERNEL32.dll_WriteFile
inc esi
jo 0x140014e2c
inc r13
cmp r13, rdi
jae 0x140014db5
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
cmp byte [r13 + rax], 0x25
je 0x140014bc0
lea rcx, [r13 + rax + 1]
inc rax
cmp rcx, rdi
jb 0x140014ba0
add rax, r13
mov rbx, rax
jmp 0x140014bca
lea rbx, [r13 + rax]
test rax, rax
je 0x140014c00
mov r15, rbx
sub r15, r13
movsxd rax, r15d
cmp rax, r15
jne 0x140014e2c
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, r13
mov r8d, r15d
mov r9, r12
call sub.KERNEL32.dll_WriteFile
cmp byte [rbx + 1], 0x6c
jne 0x140014c20
lea r13, [rbx + 2]
lea rax, [rbx + 3]
cmp byte [rbx + 2], 0x6c
cmove r13, rax
cmp r13, rdi
jb 0x140014c2d
jmp 0x140014db5
lea r13, [rbx + 1]
cmp r13, rdi
jae 0x140014db5
movzx eax, byte [r13]
add eax, 0xffffff9c
cmp eax, 0x14
ja case.0x140014c41.101
movsxd rax, dword [r14 + rax*4]
add rax, r14
jmp rax
lea eax, [rsi + 3]
test esi, esi
cmovns eax, esi
cmp eax, 3
jae 0x140014e31
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, str._____
mov r8d, 5
lea r9, [rbp - 0x34]
jmp 0x140014b78
mov r15, r13
sub r15, rbx
inc r15
movsxd rax, r15d
cmp rax, r15
jne 0x140014e2c
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rbx
mov r8d, r15d
lea r9, [rbp - 0x24]
call sub.KERNEL32.dll_WriteFile
inc r13
cmp r13, rdi
jb 0x140014b91
jmp 0x140014db5
lea eax, [rsi + 3]
test esi, esi
cmovns eax, esi
test eax, eax
mov rbx, qword [rbp - 8]
je 0x140014b50
cmp eax, 2
mov rbx, qword [rbp - 0x10]
je 0x140014b50
cmp eax, 1
mov rbx, qword [rbp - 0x18]
je 0x140014b50
jmp 0x140014e31
lea eax, [rsi + 3]
test esi, esi
cmovns eax, esi
cmp eax, 3
jae 0x140014e31
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, str._____
mov r8d, 5
lea r9, [rbp - 0x28]
jmp 0x140014b78
lea eax, [rsi + 3]
test esi, esi
cmovns eax, esi
cmp eax, 3
jae 0x140014e31
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, str._____
mov r8d, 5
lea r9, [rbp - 0x30]
jmp 0x140014b78
lea eax, [rsi + 3]
test esi, esi
cmovns eax, esi
cmp eax, 3
jae 0x140014e31
mov ecx, 0xfffffff4
call sub.KERNEL32.dll_GetStdHandle
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, str._____
mov r8d, 5
lea r9, [rbp - 0x2c]
jmp 0x140014b78
mov rax, qword [rbp - 0x20]
cmp dword [rax + 0x18], 0x1fd
jne 0x140014e0b
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call fcn.1400151b0
mov rsi, rax
test rax, rax
je 0x140014e0b
xor ebx, ebx
lea rdi, [0x140028150]
cmp ebx, dword [rsi + 4]
jge 0x140014e17
nop dword [rax]
mov rax, qword [rsi + 0x10]
mov ecx, ebx
mov rdx, qword [rax + rcx*8]
mov rcx, rdi
call fcn.140016c80
inc ebx
cmp ebx, dword [rsi + 4]
jl 0x140014df0
jmp 0x140014e17
lea rcx, [0x140028170]
call fcn.140016f40
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140003430
call fcn.1400053c0
mov rcx, rax
call fcn.140005420
mov rdx, qword [rbp - 8]
mov rax, qword [rdx + 8]
test rax, rax
mov rcx, qword [rbp]
cmovne rcx, rax
mov qword [rbp], rcx
mov ecx, dword [rdx]
call fcn.140014f80
cmp eax, 0x329
je 0x140014e76
cmp eax, 0x32a
jne 0x140014e82
lea r8, [0x140027ac0]
jmp 0x140014f1e
lea r8, [0x140027af0]
jmp 0x140014f1e
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x328
jne 0x140014e9b
lea r8, [0x140027b20]
jmp 0x140014f1e
lea ecx, [rax - 0x319]
cmp ecx, 0xf
jae 0x140014eb8
mov eax, ecx
lea rcx, [0x1400292d0]
movsxd r8, dword [rcx + rax*4]
add r8, rcx
jmp 0x140014f1e
mov ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x318
jne 0x140014ece
lea r8, [0x140027de0]
jmp 0x140014f1e
cmp eax, 0x316
je 0x140014ee5
cmp eax, 0x317
jne 0x140014eee
lea r8, [0x140027e00]
jmp 0x140014f1e
lea r8, [0x140027e20]
jmp 0x140014f1e
lea ecx, [rax - 0x315]
cmp ecx, 8
jae 0x140014f02
lea r8, [0x140027e40]
jmp 0x140014f1e
add eax, 0xfffffcf7
cmp eax, 0xc
jae 0x140014f17
mov eax, eax
lea rcx, [0x14002930c]
jmp 0x140014eaf
lea r8, [0x140028010]
lea rcx, [0x140028190]
mov rdx, qword [rbp]
call fcn.1400170e0
jmp 0x140014e17