Function at 0x14000dec0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x428
mov rax, qword [0x140250d90]
xor rax, rsp
mov qword [rsp + 0x418], rax
cmp dword [rsp + 0x450], 3
je 0x14000df14
cmp dword [rsp + 0x450], 2
je 0x14000df14
cmp dword [rsp + 0x450], 1
je 0x14000df14
mov eax, 0x10000
jmp 0x14000e6a2
cmp dword [rsp + 0x450], 3
jne 0x14000e0a6
mov rax, qword [rsp + 0x430]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x438], eax
je 0x14000e009
mov rax, qword [rsp + 0x430]
cmp dword [rax + 8], 0xffffffff
je 0x14000df58
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000cae0
mov rax, qword [rsp + 0x430]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x438], eax
jl 0x14000df88
mov eax, 0x10000
jmp 0x14000e6a2
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x438], eax
jge 0x14000dfaf
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000bcc0
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x438]
cmp dword [rax + 0x14], ecx
jge 0x14000dfd8
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000bd90
jmp 0x14000dfaf
mov rax, qword [rsp + 0x430]
mov rdx, qword [rax + 0x140]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000c1a0
mov rax, qword [rsp + 0x430]
mov ecx, dword [rsp + 0x438]
mov dword [rax + 8], ecx
lea r9, [rsp + 0x188]
mov r8d, dword [rsp + 0x448]
mov rdx, qword [rsp + 0x440]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000c540
mov dword [rsp + 0x184], eax
cmp dword [rsp + 0x184], 0
jg 0x14000e061
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000cae0
mov rax, qword [rsp + 0x430]
mov dword [rax + 8], 0xffffffff
movzx eax, byte [rsp + 0x188]
test eax, eax
je 0x14000e074
xor eax, eax
jmp 0x14000e6a2
cmp dword [rsp + 0x184], 0
jle 0x14000e088
mov eax, 0x600
jmp 0x14000e6a2
cmp dword [rsp + 0x184], 0xffffff96
jne 0x14000e09c
mov eax, 0x1000
jmp 0x14000e6a2
mov eax, 0x5000000
jmp 0x14000e6a2
mov rax, qword [rsp + 0x430]
cmp dword [rax + 8], 0xffffffff
je 0x14000e0c4
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000cae0
mov rax, qword [rsp + 0x430]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x438], eax
jl 0x14000e0f4
mov eax, 0x10000
jmp 0x14000e6a2
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x438], eax
jge 0x14000e11b
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000bcc0
mov rax, qword [rsp + 0x430]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x438]
cmp dword [rax + 0x14], ecx
jge 0x14000e144
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000bd90
jmp 0x14000e11b
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x438]
mov rcx, qword [rsp + 0x430]
call fcn.14000cf40
mov eax, dword [rsp + 0x158]
and eax, 0x10
test eax, eax
je 0x14000e239
cmp dword [rsp + 0x450], 1
jne 0x14000e180
xor eax, eax
jmp 0x14000e6a2
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x14000e1dd
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x14000e1dd
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
test eax, eax
je 0x14000e1d0
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax + 1]
cmp eax, 0x3a
je 0x14000e1dd
mov dword [rsp + 0x3f0], 0
jmp 0x14000e1e8
mov dword [rsp + 0x3f0], 1
movzx eax, byte [rsp + 0x3f0]
mov byte [rsp + 0x189], al
movzx eax, byte [rsp + 0x189]
test eax, eax
je 0x14000e214
mov rdx, qword [rsp + 0x190]
xor ecx, ecx
call fcn.14000dc40
jmp 0x14000e232
mov rax, qword [rsp + 0x430]
add rax, 0x150
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.14000dc40
xor eax, eax
jmp 0x14000e6a2
cmp dword [rsp + 0x450], 1
jne 0x14000e255
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x40], rax
jmp 0x14000e4c9
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
movsx eax, byte [rax]
test eax, eax
je 0x14000e2dc
mov rax, qword [rsp + 0x3d0]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x14000e2b4
mov rax, qword [rsp + 0x3d0]
movsx eax, byte [rax]
cmp eax, 0x5c
jne 0x14000e2c7
mov rax, qword [rsp + 0x3d0]
inc rax
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x3d0]
inc rax
mov qword [rsp + 0x3d0], rax
jmp 0x14000e285
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x3f8], rax
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x3f8]
movzx eax, byte [rax]
mov byte [rsp + 0x410], al
mov rax, qword [rsp + 0x400]
movzx ecx, byte [rsp + 0x410]
mov byte [rax], cl
mov rax, qword [rsp + 0x3f8]
inc rax
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x400]
inc rax
mov qword [rsp + 0x400], rax
cmp byte [rsp + 0x410], 0
jne 0x14000e30c
mov rax, qword [rsp + 0x1a0]
cmp qword [rsp + 0x1a8], rax
jne 0x14000e37c
mov byte [rsp + 0x2c0], 0
jmp 0x14000e39a
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
sub rcx, rax
mov rax, rcx
mov byte [rsp + rax + 0x2c0], 0
movsx eax, byte [rsp + 0x2c0]
cmp eax, 0x2f
je 0x14000e3da
movsx eax, byte [rsp + 0x2c0]
cmp eax, 0x5c
je 0x14000e3da
movsx eax, byte [rsp + 0x2c0]
test eax, eax
je 0x14000e3cd
movsx eax, byte [rsp + 0x2c1]
cmp eax, 0x3a
je 0x14000e3da
mov dword [rsp + 0x414], 0
jmp 0x14000e3e5
mov dword [rsp + 0x414], 1
movzx eax, byte [rsp + 0x414]
mov byte [rsp + 0x198], al
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14000e436
mov r9, qword [rsp + 0x1a8]
lea r8, [rsp + 0x2c0]
lea rdx, [0x1401bcf64]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call fcn.14000dc40
jmp 0x14000e48f
mov rax, qword [rsp + 0x430]
add rax, 0x150
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x2c0]
mov r8, rax
lea rdx, [0x1401bcf6c]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rax, qword [rsp + 0x430]
add rax, 0x150
lea rdx, [rsp + 0x2c0]
mov rcx, rax
call fcn.14000dc40
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14000e4db
mov eax, 0x200
jmp 0x14000e6a2
mov rax, qword [rsp + 0x430]
mov rdx, qword [rax + 0x140]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000c1a0
mov rax, qword [rsp + 0x430]
cmp qword [rax + 0x148], 0
jne 0x14000e535
mov ecx, 0x4000
call fcn.14000ed8c
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x3e8]
mov qword [rax + 0x148], rcx
mov dword [rsp + 0x180], 0
cmp dword [rsp + 0x180], 0
jne 0x14000e63b
lea r9, [rsp + 0x3dc]
mov r8d, 0x4000
mov rax, qword [rsp + 0x430]
mov rdx, qword [rax + 0x148]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000c540
mov dword [rsp + 0x3d8], eax
cmp dword [rsp + 0x3d8], 0xffffff96
jne 0x14000e59c
mov dword [rsp + 0x180], 0x1000
jmp 0x14000e63b
cmp dword [rsp + 0x3d8], 0
jge 0x14000e5b6
mov dword [rsp + 0x180], 0x5000000
jmp 0x14000e63b
cmp dword [rsp + 0x3d8], 0
jle 0x14000e611
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3e4]
mov r8d, dword [rsp + 0x3d8]
mov rax, qword [rsp + 0x430]
mov rdx, qword [rax + 0x148]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x3e0], eax
cmp dword [rsp + 0x3e0], 0
jne 0x14000e611
mov dword [rsp + 0x180], 0x400
jmp 0x14000e63b
movzx eax, byte [rsp + 0x3dc]
test eax, eax
je 0x14000e61f
jmp 0x14000e63b
cmp dword [rsp + 0x3d8], 0
jne 0x14000e636
mov dword [rsp + 0x180], 0x5000000
jmp 0x14000e63b
jmp 0x14000e540
cmp dword [rsp + 0x180], 0
jne 0x14000e668
lea r9, [rsp + 0x16c]
lea r8, [rsp + 0x15c]
lea rdx, [rsp + 0x164]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [rsp + 0x450], 1
je 0x14000e67d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x430]
mov rcx, qword [rax]
call fcn.14000cae0
cmp dword [rsp + 0x180], 0
je 0x14000e6a0
mov eax, dword [rsp + 0x180]
jmp 0x14000e6a2
xor eax, eax
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.14014f550
add rsp, 0x428
ret