Function at 0x1400cd59e
Capabilities:
Write file on windows

Disassembly:
jmp 0x14011f7b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xcd8
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x336
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xcf8]
mov rax, qword [0x1402eb038]
xor rax, rbp
mov qword [rbp + 0xc88], rax
lea rcx, [0x140309157]
call fcn.1400d07c6
cmp dword [rbp + 0xcd0], 3
je 0x14011f82a
cmp dword [rbp + 0xcd0], 2
je 0x14011f82a
cmp dword [rbp + 0xcd0], 1
je 0x14011f82a
mov eax, 0x10000
jmp 0x14011ff61
cmp dword [rbp + 0xcd0], 3
jne 0x14011f98d
mov rax, qword [rbp + 0xcb0]
mov eax, dword [rax + 8]
cmp dword [rbp + 0xcb8], eax
je 0x14011f90d
mov rax, qword [rbp + 0xcb0]
cmp dword [rax + 8], 0xffffffff
je 0x14011f869
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cfe93
mov rax, qword [rbp + 0xcb0]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rbp + 0xcb8], eax
jl 0x14011f896
mov eax, 0x10000
jmp 0x14011ff61
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0xcb8], eax
jge 0x14011f8ba
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cead4
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov ecx, dword [rbp + 0xcb8]
cmp dword [rax + 0x14], ecx
jge 0x14011f8e0
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400ce881
jmp 0x14011f8ba
mov rax, qword [rbp + 0xcb0]
mov rdx, qword [rax + 0x240]
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400ceed0
mov rax, qword [rbp + 0xcb0]
mov ecx, dword [rbp + 0xcb8]
mov dword [rax + 8], ecx
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0xcc8]
mov rdx, qword [rbp + 0xcc0]
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cbd2f
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jg 0x14011f954
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cfe93
mov rax, qword [rbp + 0xcb0]
mov dword [rax + 8], 0xffffffff
movzx eax, byte [rbp + 4]
test eax, eax
je 0x14011f963
xor eax, eax
jmp 0x14011ff61
cmp dword [rbp + 0x24], 0
jle 0x14011f973
mov eax, 0x600
jmp 0x14011ff61
cmp dword [rbp + 0x24], 0xffffff96
jne 0x14011f983
mov eax, 0x1000
jmp 0x14011ff61
mov eax, 0x5000000
jmp 0x14011ff61
mov rax, qword [rbp + 0xcb0]
cmp dword [rax + 8], 0xffffffff
je 0x14011f9a9
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cfe93
mov rax, qword [rbp + 0xcb0]
mov dword [rax + 8], 0xffffffff
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rbp + 0xcb8], eax
jl 0x14011f9d6
mov eax, 0x10000
jmp 0x14011ff61
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0xcb8], eax
jge 0x14011f9fa
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cead4
mov rax, qword [rbp + 0xcb0]
mov rax, qword [rax]
mov ecx, dword [rbp + 0xcb8]
cmp dword [rax + 0x14], ecx
jge 0x14011fa20
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400ce881
jmp 0x14011f9fa
lea r8, [rbp + 0x50]
mov edx, dword [rbp + 0xcb8]
mov rcx, qword [rbp + 0xcb0]
call fcn.1400cf529
mov eax, dword [rbp + 0x25c]
and eax, 0x10
test eax, eax
je 0x14011fb29
cmp dword [rbp + 0xcd0], 1
jne 0x14011fa57
xor eax, eax
jmp 0x14011ff61
mov rax, qword [rbp + 0xcc0]
mov qword [rbp + 0x298], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0x298]
movzx eax, word [rcx + rax]
cmp eax, 0x2f
je 0x14011fad4
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0x298]
movzx eax, word [rcx + rax]
cmp eax, 0x5c
je 0x14011fad4
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0x298]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14011fac8
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 0x298]
movzx eax, word [rcx + rax]
cmp eax, 0x3a
je 0x14011fad4
mov dword [rbp + 0xc84], 0
jmp 0x14011fade
mov dword [rbp + 0xc84], 1
movzx eax, byte [rbp + 0xc84]
mov byte [rbp + 0x2b4], al
movzx eax, byte [rbp + 0x2b4]
test eax, eax
je 0x14011fb06
mov rdx, qword [rbp + 0x298]
xor ecx, ecx
call fcn.1400cdb34
jmp 0x14011fb22
mov rax, qword [rbp + 0xcb0]
add rax, 0x250
mov rdx, qword [rbp + 0x298]
mov rcx, rax
call fcn.1400cdb34
xor eax, eax
jmp 0x14011ff61
cmp dword [rbp + 0xcd0], 1
jne 0x14011fb45
mov rax, qword [rbp + 0xcc0]
mov qword [rbp + 0x2d8], rax
jmp 0x14011fda5
mov rax, qword [rbp + 0xcc0]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp + 0x338], rax
mov rax, qword [rbp + 0x338]
movzx eax, word [rax]
test eax, eax
je 0x14011fbc1
mov rax, qword [rbp + 0x338]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14011fb9b
mov rax, qword [rbp + 0x338]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x14011fbad
mov rax, qword [rbp + 0x338]
add rax, 2
mov qword [rbp + 0x318], rax
mov rax, qword [rbp + 0x338]
add rax, 2
mov qword [rbp + 0x338], rax
jmp 0x14011fb6f
mov rdx, qword [rbp + 0x2f8]
lea rcx, [rbp + 0x360]
call fcn.1400ccd33
mov rax, qword [rbp + 0x2f8]
cmp qword [rbp + 0x318], rax
jne 0x14011fc1b
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0xc38], rax
cmp qword [rbp + 0xc38], 0x208
jae 0x14011fc03
jmp 0x14011fc08
call fcn.1400ceedf
xor eax, eax
mov rcx, qword [rbp + 0xc38]
mov word [rbp + rcx + 0x360], ax
jmp 0x14011fc61
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0x318]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
mov qword [rbp + 0xc58], rax
cmp qword [rbp + 0xc58], 0x208
jae 0x14011fc4b
jmp 0x14011fc50
call fcn.1400ceedf
xor eax, eax
mov rcx, qword [rbp + 0xc58]
mov word [rbp + rcx + 0x360], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x360]
cmp eax, 0x2f
je 0x14011fcc4
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x360]
cmp eax, 0x5c
je 0x14011fcc4
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x360]
test eax, eax
je 0x14011fcb8
mov eax, 2
imul rax, rax, 1
movzx eax, word [rbp + rax + 0x360]
cmp eax, 0x3a
je 0x14011fcc4
mov dword [rbp + 0xc84], 0
jmp 0x14011fcce
mov dword [rbp + 0xc84], 1
movzx eax, byte [rbp + 0xc84]
mov byte [rbp + 0x7b4], al
movzx eax, byte [rbp + 0x7b4]
test eax, eax
je 0x14011fd18
mov r9, qword [rbp + 0x318]
lea r8, [rbp + 0x360]
lea rdx, str._s_s
lea rcx, [rbp + 0x590]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0x360]
xor ecx, ecx
call fcn.1400cdb34
jmp 0x14011fd6b
mov rax, qword [rbp + 0xcb0]
add rax, 0x250
mov rcx, qword [rbp + 0x318]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x360]
mov r8, rax
lea rdx, str._s_s_s
lea rcx, [rbp + 0x590]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rbp + 0xcb0]
add rax, 0x250
lea rdx, [rbp + 0x360]
mov rcx, rax
call fcn.1400cdb34
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0x25c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rbp + 0x2d8], rax
cmp qword [rbp + 0x2d8], 0xffffffffffffffff
jne 0x14011fdb9
mov eax, 0x200
jmp 0x14011ff61
mov rax, qword [rbp + 0xcb0]
mov rdx, qword [rax + 0x240]
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400ceed0
mov rax, qword [rbp + 0xcb0]
cmp qword [rax + 0x248], 0
jne 0x14011fe0d
mov ecx, 0x4000
call fcn.1400cd648
mov qword [rbp + 0xc78], rax
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rbp + 0xc78]
mov qword [rax + 0x248], rcx
mov dword [rbp + 0x7d4], 0
cmp dword [rbp + 0x7d4], 0
jne 0x14011fefe
lea r9, [rbp + 0x7f4]
mov r8d, 0x4000
mov rax, qword [rbp + 0xcb0]
mov rdx, qword [rax + 0x248]
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cbd2f
mov dword [rbp + 0x814], eax
cmp dword [rbp + 0x814], 0xffffff96
jne 0x14011fe6c
mov dword [rbp + 0x7d4], 0x1000
jmp 0x14011fefe
cmp dword [rbp + 0x814], 0
jge 0x14011fe81
mov dword [rbp + 0x7d4], 0x5000000
jmp 0x14011fefe
cmp dword [rbp + 0x814], 0
jle 0x14011fed7
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x834]
mov r8d, dword [rbp + 0x814]
mov rax, qword [rbp + 0xcb0]
mov rdx, qword [rax + 0x248]
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [rbp + 0x854], eax
cmp dword [rbp + 0x854], 0
jne 0x14011fed7
mov dword [rbp + 0x7d4], 0x400
jmp 0x14011fefe
movzx eax, byte [rbp + 0x7f4]
test eax, eax
je 0x14011fee4
jmp 0x14011fefe
cmp dword [rbp + 0x814], 0
jne 0x14011fef9
mov dword [rbp + 0x7d4], 0x5000000
jmp 0x14011fefe
jmp 0x14011fe17
cmp dword [rbp + 0x7d4], 0
jne 0x14011ff29
lea r9, [rbp + 0x270]
lea r8, [rbp + 0x260]
lea rdx, [rbp + 0x268]
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.DLL_SetFileTime]
cmp dword [rbp + 0xcd0], 1
je 0x14011ff3f
mov rcx, qword [rbp + 0x2d8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rbp + 0xcb0]
mov rcx, qword [rax]
call fcn.1400cfe93
cmp dword [rbp + 0x7d4], 0
je 0x14011ff5f
mov eax, dword [rbp + 0x7d4]
jmp 0x14011ff61
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140291160]
call fcn.1400cf82b
mov rax, rdi
mov rcx, qword [rbp + 0xc88]
xor rcx, rbp
call fcn.1400cda58
lea rsp, [rbp + 0xc98]
pop rdi
pop rbp
ret