Function at 0x14000e4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x14000e550
cmp byte [rcx + 1], 0
je 0x14000e550
mov byte [rax + 0x18], 0
mov rbx, qword [rcx + 0xa8]
test rbx, rbx
je 0x14000e550
mov rcx, rbx
call fcn.140027a60
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e547
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
mov qword [rdi + 0xa8], r15
cmp byte [rdi], r15b
je 0x14000ecc3
cmp byte [rdi + 0x3031], r15b
je 0x14000e5d9
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000e5d9
mov rsi, qword [0x14007e978]
mov qword [0x14007e978], rdi
mov dword [rdi + 0x3034], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001b270
mov rbp, rax
lea rdx, [0x1400770d0]
mov rcx, rbx
call fcn.140009900
mov rbx, rax
test rax, rax
je 0x14000e5d2
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x14007e978], rsi
mov ebx, r15d
cmp dword [rdi + 0x3078], r15d
jle 0x14000e620
mov rsi, r15
nop dword [rax + rax]
mov rcx, qword [rdi + 0x3080]
cmp dword [rsi + rcx + 4], 6
jne 0x14000e612
mov rax, qword [rsi + rcx + 0x10]
movsxd rdx, ebx
shl rdx, 5
add rdx, rcx
mov rcx, rdi
call rax
inc ebx
add rsi, 0x20
cmp ebx, dword [rdi + 0x3078]
jl 0x14000e5f0
mov esi, r15d
cmp dword [rdi + 0x1bb0], r15d
jle 0x14000e671
mov r14, r15
nop
mov rax, qword [rdi + 0x1bb8]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000e663
mov rcx, rbx
call fcn.14000b770
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e65a
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + 0x1bb0]
jl 0x14000e630
mov rcx, qword [rdi + 0x1bb8]
test rcx, rcx
je 0x14000e6a3
mov qword [rdi + 0x1bb0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e696
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bb8], r15
mov rcx, qword [rdi + 0x1bc8]
test rcx, rcx
je 0x14000e6d5
mov qword [rdi + 0x1bc0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e6c8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bc8], r15
mov rcx, qword [rdi + 0x1bd8]
test rcx, rcx
je 0x14000e707
mov qword [rdi + 0x1bd0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e6fa
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bd8], r15
mov qword [rdi + 0x1c10], r15
mov rcx, qword [rdi + 0x1be8]
test rcx, rcx
je 0x14000e740
mov qword [rdi + 0x1be0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e733
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1be8], r15
mov rcx, qword [rdi + 0x1bf8]
test rcx, rcx
je 0x14000e772
mov qword [rdi + 0x1bf0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e765
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bf8], r15
mov qword [rdi + 0x1dc8], r15
mov qword [rdi + 0x1c20], r15
mov qword [rdi + 0x1c18], r15
mov qword [rdi + 0x1ca0], r15
mov qword [rdi + 0x1c88], r15
mov qword [rdi + 0x1c28], r15
mov rcx, qword [rdi + 0x1d40]
test rcx, rcx
je 0x14000e7ce
mov qword [rdi + 0x1d38], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e7c1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d40], r15
mov rcx, qword [rdi + 0x1d50]
test rcx, rcx
je 0x14000e800
mov qword [rdi + 0x1d48], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e7f3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d50], r15
mov rcx, qword [rdi + 0x1d60]
test rcx, rcx
je 0x14000e832
mov qword [rdi + 0x1d58], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e825
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d60], r15
mov rcx, qword [rdi + 0x1da0]
test rcx, rcx
je 0x14000e864
mov qword [rdi + 0x1d98], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e857
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1da0], r15
mov rcx, qword [rdi + 0x1db0]
test rcx, rcx
je 0x14000e896
mov qword [rdi + 0x1da8], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e889
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1db0], r15
mov ebp, r15d
cmp dword [rdi + 0x1db8], r15d
jle 0x14000e966
mov r14, r15
nop dword [rax]
mov rax, qword [rdi + 0x1dc0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000e954
mov rsi, qword [rbx + 0x30]
test rsi, rsi
je 0x14000e8f0
mov rcx, rsi
call fcn.140008390
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e8e7
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14000e91d
mov rcx, rsi
call fcn.140008390
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e913
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbx + 0x70]
lea r9, [0x14001bc50]
mov edx, 0x10
mov r8d, 2
call fcn.140039db4
nop
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e94b
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x1db8]
jl 0x14000e8b0
mov rcx, qword [rdi + 0x1dc0]
test rcx, rcx
je 0x14000e998
mov qword [rdi + 0x1db8], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e98b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1dc0], r15
lea rcx, [rdi + 0x2060]
call fcn.14001bd80
mov rcx, qword [rdi + 0x2090]
test rcx, rcx
je 0x14000e9d6
mov qword [rdi + 0x2088], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e9c9
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2090], r15
mov rcx, qword [rdi + 0x20a0]
test rcx, rcx
je 0x14000ea08
mov qword [rdi + 0x2098], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000e9fb
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20a0], r15
lea rcx, [rdi + 0x2000]
call fcn.14001bf00
mov ebp, r15d
cmp dword [rdi + 0x2028], r15d
jle 0x14000ea9b
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rdi + 0x2030]
mov rcx, qword [rsi + rbx + 0x40]
test rcx, rcx
je 0x14000ea5a
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ea53
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbx + 0x10]
add rcx, rsi
call fcn.1400274f0
nop
mov rcx, qword [rbx + rsi + 0x20]
test rcx, rcx
je 0x14000ea8a
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ea83
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc ebp
add rsi, 0x90
cmp ebp, dword [rdi + 0x2028]
jl 0x14000ea30
mov rcx, qword [rdi + 0x2030]
test rcx, rcx
je 0x14000eacd
mov qword [rdi + 0x2028], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000eac0
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2030], r15
mov rcx, qword [rdi + 0x2050]
test rcx, rcx
je 0x14000eaff
mov qword [rdi + 0x2048], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000eaf2
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2050], r15
mov rcx, qword [rdi + 0x3008]
test rcx, rcx
je 0x14000eb31
mov qword [rdi + 0x3000], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000eb24
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3008], r15
mov rcx, qword [rdi + 0x3018]
test rcx, rcx
je 0x14000eb63
mov qword [rdi + 0x3010], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000eb56
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3018], r15
mov rcx, qword [rdi + 0x20c8]
test rcx, rcx
je 0x14000eb95
mov qword [rdi + 0x20c0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000eb88
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20c8], r15
mov rcx, qword [rdi + 0x20d8]
test rcx, rcx
je 0x14000ebc7
mov qword [rdi + 0x20d0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ebba
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20d8], r15
mov rcx, qword [rdi + 0x20e8]
test rcx, rcx
je 0x14000ebf9
mov qword [rdi + 0x20e0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ebec
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20e8], r15
mov rcx, qword [rdi + 0x3060]
test rcx, rcx
je 0x14000ec2b
mov qword [rdi + 0x3058], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ec1e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3060], r15
mov rcx, qword [rdi + 0x3050]
test rcx, rcx
je 0x14000ec5d
mov qword [rdi + 0x3048], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ec50
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3050], r15
cmp qword [rdi + 0x3098], 0
je 0x14000ec8e
mov rbx, qword [rdi + 0x3098]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x14000ec87
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x3098], r15
mov rcx, qword [rdi + 0x30a8]
test rcx, rcx
je 0x14000ecc0
mov qword [rdi + 0x30a0], r15
mov rax, qword [0x14007e978]
test rax, rax
je 0x14000ecb3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x30a8], r15
mov byte [rdi], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret