Function at 0x1400073a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x3b0
mov rax, qword [0x1400933c8]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov r12d, dword [rsp + 0x3f0]
mov ebp, r9d
mov rsi, r8
mov ebx, edx
mov rdi, rcx
cmp r12d, 3
je 0x1400076a7
cmp r12d, 2
je 0x1400073fa
cmp r12d, 1
je 0x1400073fa
mov eax, 0x10000
jmp 0x140007751
cmp dword [rcx + 8], 0xffffffff
je 0x140007408
mov rcx, qword [rcx]
call fcn.140004d90
mov rcx, qword [rdi]
mov dword [rdi + 8], 0xffffffff
cmp ebx, dword [rcx + 8]
jge 0x1400073f0
cmp ebx, dword [rcx + 0x14]
jge 0x140007421
call fcn.140004ac0
mov rax, qword [rdi]
cmp dword [rax + 0x14], ebx
jge 0x140007441
nop dword [rax]
mov rcx, qword [rdi]
call fcn.140004b20
mov r11, qword [rdi]
cmp dword [r11 + 0x14], ebx
jl 0x140007430
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call fcn.140004fc0
test byte [rsp + 0x158], 0x10
je 0x14000749c
cmp r12d, 1
je 0x140007495
movzx eax, byte [rsi]
cmp al, 0x2f
je 0x14000748b
cmp al, 0x5c
je 0x14000748b
test al, al
je 0x140007475
cmp byte [rsi + 1], 0x3a
je 0x14000748b
lea rcx, [rdi + 0x150]
mov rdx, rsi
call fcn.140005520
xor eax, eax
jmp 0x140007751
xor ecx, ecx
mov rdx, rsi
call fcn.140005520
xor eax, eax
jmp 0x140007751
xor ebp, ebp
cmp r12d, 1
je 0x1400075bb
movzx eax, byte [rsi]
mov r9, rsi
mov rcx, rsi
test al, al
je 0x1400074cb
cmp al, 0x2f
je 0x1400074bd
cmp al, 0x5c
jne 0x1400074c1
lea r9, [rcx + 1]
mov al, byte [rcx + 1]
inc rcx
test al, al
jne 0x1400074b5
lea rdx, [rsp + 0x180]
mov rcx, rsi
sub rdx, rsi
nop dword [rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x1400074e0
cmp r9, rsi
jne 0x1400074fd
mov byte [rsp + 0x180], bpl
jmp 0x140007529
mov rax, r9
sub rax, rsi
mov byte [rsp + rax + 0x180], bpl
movzx eax, byte [rsp + 0x180]
cmp al, 0x2f
je 0x14000755b
cmp al, 0x5c
je 0x14000755b
test al, al
je 0x140007529
cmp byte [rsp + 0x181], 0x3a
je 0x14000755b
mov qword [rsp + 0x20], r9
lea r8, [rdi + 0x150]
lea rdx, [0x140074d1c]
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x290]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rdi + 0x150]
jmp 0x14000757a
lea r8, [rsp + 0x180]
lea rdx, str._s_s
lea rcx, [rsp + 0x290]
call qword [sym.imp.USER32.dll_wsprintfA]
xor ecx, ecx
lea rdx, [rsp + 0x180]
call fcn.140005520
mov eax, dword [rsp + 0x158]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x290]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rsi, 0xffffffffffffffff
jne 0x1400075cb
mov eax, 0x200
jmp 0x140007751
mov rdx, qword [rdi + 0x140]
mov rcx, qword [rdi]
call fcn.140006db0
cmp qword [rdi + 0x148], rbp
jne 0x140007600
mov ecx, 0x4000
call fcn.140007b20
mov qword [rdi + 0x148], rax
nop word [rax + rax]
mov rdx, qword [rdi + 0x148]
mov rcx, qword [rdi]
lea r9, [rsp + 0x40]
mov r8d, 0x4000
call fcn.140006f90
mov ebx, eax
cmp eax, 0xffffff96
je 0x140007684
test eax, eax
js 0x140007653
jle 0x140007648
mov rdx, qword [rdi + 0x148]
lea r9, [rsp + 0x44]
mov r8d, eax
mov rcx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000765a
cmp byte [rsp + 0x40], bpl
jne 0x140007661
test ebx, ebx
jne 0x140007600
mov ebp, 0x5000000
jmp 0x140007689
mov ebp, 0x400
jmp 0x140007689
lea r9, [rsp + 0x16c]
lea r8, [rsp + 0x15c]
lea rdx, [rsp + 0x164]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x140007689
mov ebp, 0x1000
cmp r12d, 1
je 0x140007698
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi]
call fcn.140004d90
mov eax, ebp
jmp 0x140007751
mov eax, dword [rcx + 8]
cmp edx, eax
je 0x140007703
cmp eax, 0xffffffff
je 0x1400076bb
mov rcx, qword [rcx]
call fcn.140004d90
mov rcx, qword [rdi]
mov dword [rdi + 8], 0xffffffff
cmp ebx, dword [rcx + 8]
jge 0x1400073f0
cmp ebx, dword [rcx + 0x14]
jge 0x1400076d8
call fcn.140004ac0
mov rax, qword [rdi]
cmp dword [rax + 0x14], ebx
jge 0x1400076f1
mov rcx, qword [rdi]
call fcn.140004b20
mov r11, qword [rdi]
cmp dword [r11 + 0x14], ebx
jl 0x1400076e0
mov rdx, qword [rdi + 0x140]
mov rcx, qword [rdi]
call fcn.140006db0
mov dword [rdi + 8], ebx
mov rcx, qword [rdi]
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rsi
call fcn.140006f90
mov ebx, eax
test eax, eax
jg 0x14000772b
mov rcx, qword [rdi]
call fcn.140004d90
mov dword [rdi + 8], 0xffffffff
cmp byte [rsp + 0x40], 0
jne 0x140007495
test ebx, ebx
jle 0x140007741
mov eax, 0x600
jmp 0x140007751
mov eax, 0x5000000
mov edx, 0x1000
cmp ebx, 0xffffff96
cmove eax, edx
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140019560
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret