Function at 0x14000cd00
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, 0x408
cmp dword [rsp + 0x430], 3
je 0x14000cd42
cmp dword [rsp + 0x430], 2
je 0x14000cd42
cmp dword [rsp + 0x430], 1
je 0x14000cd42
mov eax, 0x10000
jmp 0x14000d461
cmp dword [rsp + 0x430], 3
jne 0x14000ced4
mov rax, qword [rsp + 0x410]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x418], eax
je 0x14000ce37
mov rax, qword [rsp + 0x410]
cmp dword [rax + 8], 0xffffffff
je 0x14000cd86
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b940
mov rax, qword [rsp + 0x410]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x418], eax
jl 0x14000cdb6
mov eax, 0x10000
jmp 0x14000d461
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x418], eax
jge 0x14000cddd
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000a7f0
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x418]
cmp dword [rax + 0x14], ecx
jge 0x14000ce06
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000a8c0
jmp 0x14000cddd
mov rax, qword [rsp + 0x410]
mov rdx, qword [rax + 0x140]
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000ae10
mov rax, qword [rsp + 0x410]
mov ecx, dword [rsp + 0x418]
mov dword [rax + 8], ecx
lea r9, [rsp + 0x188]
mov r8d, dword [rsp + 0x428]
mov rdx, qword [rsp + 0x420]
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b1b0
mov dword [rsp + 0x184], eax
cmp dword [rsp + 0x184], 0
jg 0x14000ce8f
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b940
mov rax, qword [rsp + 0x410]
mov dword [rax + 8], 0xffffffff
movzx eax, byte [rsp + 0x188]
test eax, eax
je 0x14000cea2
xor eax, eax
jmp 0x14000d461
cmp dword [rsp + 0x184], 0
jle 0x14000ceb6
mov eax, 0x600
jmp 0x14000d461
cmp dword [rsp + 0x184], 0xffffff96
jne 0x14000ceca
mov eax, 0x1000
jmp 0x14000d461
mov eax, 0x5000000
jmp 0x14000d461
mov rax, qword [rsp + 0x410]
cmp dword [rax + 8], 0xffffffff
je 0x14000cef2
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b940
mov rax, qword [rsp + 0x410]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x418], eax
jl 0x14000cf22
mov eax, 0x10000
jmp 0x14000d461
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x418], eax
jge 0x14000cf49
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000a7f0
mov rax, qword [rsp + 0x410]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x418]
cmp dword [rax + 0x14], ecx
jge 0x14000cf72
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000a8c0
jmp 0x14000cf49
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x418]
mov rcx, qword [rsp + 0x410]
call fcn.14000be10
mov eax, dword [rsp + 0x158]
and eax, 0x10
test eax, eax
je 0x14000d067
cmp dword [rsp + 0x430], 1
jne 0x14000cfae
xor eax, eax
jmp 0x14000d461
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x14000d00b
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
cmp eax, 0x5c
je 0x14000d00b
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax]
test eax, eax
je 0x14000cffe
mov rax, qword [rsp + 0x190]
movsx eax, byte [rax + 1]
cmp eax, 0x3a
je 0x14000d00b
mov dword [rsp + 0x3f0], 0
jmp 0x14000d016
mov dword [rsp + 0x3f0], 1
movzx eax, byte [rsp + 0x3f0]
mov byte [rsp + 0x189], al
movzx eax, byte [rsp + 0x189]
test eax, eax
je 0x14000d042
mov rdx, qword [rsp + 0x190]
xor ecx, ecx
call fcn.14000cb50
jmp 0x14000d060
mov rax, qword [rsp + 0x410]
add rax, 0x150
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.14000cb50
xor eax, eax
jmp 0x14000d461
cmp dword [rsp + 0x430], 1
jne 0x14000d083
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x40], rax
jmp 0x14000d288
mov rax, qword [rsp + 0x420]
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 0x14000d10a
mov rax, qword [rsp + 0x3d0]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x14000d0e2
mov rax, qword [rsp + 0x3d0]
movsx eax, byte [rax]
cmp eax, 0x5c
jne 0x14000d0f5
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 0x14000d0b3
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x2c0]
call fcn.140150710
mov rax, qword [rsp + 0x1a0]
cmp qword [rsp + 0x1a8], rax
jne 0x14000d13b
mov byte [rsp + 0x2c0], 0
jmp 0x14000d159
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 0x14000d199
movsx eax, byte [rsp + 0x2c0]
cmp eax, 0x5c
je 0x14000d199
movsx eax, byte [rsp + 0x2c0]
test eax, eax
je 0x14000d18c
movsx eax, byte [rsp + 0x2c1]
cmp eax, 0x3a
je 0x14000d199
mov dword [rsp + 0x3f4], 0
jmp 0x14000d1a4
mov dword [rsp + 0x3f4], 1
movzx eax, byte [rsp + 0x3f4]
mov byte [rsp + 0x198], al
movzx eax, byte [rsp + 0x198]
test eax, eax
je 0x14000d1f5
mov r9, qword [rsp + 0x1a8]
lea r8, [rsp + 0x2c0]
lea rdx, [0x1401bbee4]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call fcn.14000cb50
jmp 0x14000d24e
mov rax, qword [rsp + 0x410]
add rax, 0x150
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x2c0]
mov r8, rax
lea rdx, [0x1401bbeec]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rax, qword [rsp + 0x410]
add rax, 0x150
lea rdx, [rsp + 0x2c0]
mov rcx, rax
call fcn.14000cb50
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 0x14000d29a
mov eax, 0x200
jmp 0x14000d461
mov rax, qword [rsp + 0x410]
mov rdx, qword [rax + 0x140]
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000ae10
mov rax, qword [rsp + 0x410]
cmp qword [rax + 0x148], 0
jne 0x14000d2f4
mov ecx, 0x4000
call fcn.14000e09c
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x410]
mov rcx, qword [rsp + 0x3e8]
mov qword [rax + 0x148], rcx
mov dword [rsp + 0x180], 0
cmp dword [rsp + 0x180], 0
jne 0x14000d3fa
lea r9, [rsp + 0x3dc]
mov r8d, 0x4000
mov rax, qword [rsp + 0x410]
mov rdx, qword [rax + 0x148]
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b1b0
mov dword [rsp + 0x3d8], eax
cmp dword [rsp + 0x3d8], 0xffffff96
jne 0x14000d35b
mov dword [rsp + 0x180], 0x1000
jmp 0x14000d3fa
cmp dword [rsp + 0x3d8], 0
jge 0x14000d375
mov dword [rsp + 0x180], 0x5000000
jmp 0x14000d3fa
cmp dword [rsp + 0x3d8], 0
jle 0x14000d3d0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3e4]
mov r8d, dword [rsp + 0x3d8]
mov rax, qword [rsp + 0x410]
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 0x14000d3d0
mov dword [rsp + 0x180], 0x400
jmp 0x14000d3fa
movzx eax, byte [rsp + 0x3dc]
test eax, eax
je 0x14000d3de
jmp 0x14000d3fa
cmp dword [rsp + 0x3d8], 0
jne 0x14000d3f5
mov dword [rsp + 0x180], 0x5000000
jmp 0x14000d3fa
jmp 0x14000d2ff
cmp dword [rsp + 0x180], 0
jne 0x14000d427
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 + 0x430], 1
je 0x14000d43c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x410]
mov rcx, qword [rax]
call fcn.14000b940
cmp dword [rsp + 0x180], 0
je 0x14000d45f
mov eax, dword [rsp + 0x180]
jmp 0x14000d461
xor eax, eax
add rsp, 0x408
ret