Function at 0x1400278a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x2b8]
sub rsp, 0x3a0
mov r15d, dword [rbp + 0x2e0]
mov r14d, r9d
mov rbx, r8
mov esi, edx
mov rdi, rcx
cmp r15d, 3
je 0x140027b47
lea eax, [r15 - 1]
cmp eax, 1
jbe 0x1400278f1
mov eax, 0x10000
jmp 0x140027be6
cmp dword [rcx + 8], 0xffffffff
je 0x1400278ff
mov rcx, qword [rcx]
call fcn.14002a370
mov rcx, qword [rdi]
or dword [rdi + 8], 0xffffffff
cmp esi, dword [rcx + 8]
jge 0x1400278e7
cmp esi, dword [rcx + 0x14]
jge 0x14002791f
call fcn.14002a598
jmp 0x14002791f
mov rcx, qword [rdi]
call fcn.14002a5f4
mov rax, qword [rdi]
cmp dword [rax + 0x14], esi
jl 0x140027917
lea r8, [rbp + 0x60]
mov edx, esi
mov rcx, rdi
call fcn.140027088
test byte [rbp + 0x168], 0x10
je 0x140027977
cmp r15d, 1
je 0x140027bc7
cmp byte [rbx], 0x2f
je 0x140027968
cmp byte [rbx], 0x5c
je 0x140027968
xor esi, esi
cmp byte [rbx], sil
je 0x14002795f
cmp byte [rbx + 1], 0x3a
je 0x140027968
lea rcx, [rdi + 0x150]
jmp 0x14002796a
xor ecx, ecx
mov rdx, rbx
call fcn.140026c88
jmp 0x140027bc7
xor esi, esi
cmp r15d, 1
je 0x140027a64
mov al, byte [rbx]
mov r14, rbx
mov rcx, rbx
jmp 0x14002799e
cmp al, 0x2f
je 0x140027995
cmp al, 0x5c
jne 0x140027999
lea r14, [rcx + 1]
inc rcx
mov al, byte [rcx]
test al, al
jne 0x14002798d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140060710
cmp r14, rbx
jne 0x1400279bb
mov byte [rsp + 0x50], sil
jmp 0x1400279dd
mov rax, r14
sub rax, rbx
mov byte [rsp + rax + 0x50], sil
mov al, byte [rsp + 0x50]
cmp al, 0x2f
je 0x140027a0a
cmp al, 0x5c
je 0x140027a0a
test al, al
je 0x1400279dd
cmp byte [rsp + 0x51], 0x3a
je 0x140027a0a
lea rbx, [rdi + 0x150]
mov qword [rsp + 0x20], r14
mov r8, rbx
lea r9, [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, rbx
jmp 0x140027a28
mov r9, r14
lea r8, [rsp + 0x50]
lea rdx, [0x14009da70]
lea rcx, [rbp + 0x190]
call qword [sym.imp.USER32.dll_wsprintfA]
xor ecx, ecx
lea rdx, [rsp + 0x50]
call fcn.140026c88
mov eax, dword [rbp + 0x168]
lea rcx, [rbp + 0x190]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rbx, 0xffffffffffffffff
jne 0x140027a74
mov eax, 0x200
jmp 0x140027be6
mov rdx, qword [rdi + 0x140]
mov rcx, qword [rdi]
call fcn.14002a754
cmp qword [rdi + 0x148], rsi
jne 0x140027a9d
mov ecx, 0x4000
call fcn.140037e70
mov qword [rdi + 0x148], rax
mov rdx, qword [rdi + 0x148]
lea r9, [rbp + 0x2e0]
mov rcx, qword [rdi]
mov r8d, 0x4000
call fcn.14002ab00
mov r14d, eax
cmp eax, 0xffffff96
je 0x140027b24
test eax, eax
js 0x140027af6
jle 0x140027ae8
mov rdx, qword [rdi + 0x148]
lea r9, [rsp + 0x40]
mov r8d, eax
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140027afd
cmp byte [rbp + 0x2e0], sil
jne 0x140027b04
test r14d, r14d
jne 0x140027a9d
mov esi, 0x5000000
jmp 0x140027b29
mov esi, 0x400
jmp 0x140027b29
lea r9, [rbp + 0x17c]
mov rcx, rbx
lea r8, [rbp + 0x16c]
lea rdx, [rbp + 0x174]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x140027b29
mov esi, 0x1000
cmp r15d, 1
je 0x140027b38
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi]
call fcn.14002a370
mov eax, esi
jmp 0x140027be6
cmp esi, dword [rcx + 8]
je 0x140027b95
cmp dword [rcx + 8], 0xffffffff
je 0x140027b5a
mov rcx, qword [rcx]
call fcn.14002a370
mov rcx, qword [rdi]
or dword [rdi + 8], 0xffffffff
cmp esi, dword [rcx + 8]
jge 0x1400278e7
cmp esi, dword [rcx + 0x14]
jge 0x140027b7b
call fcn.14002a598
jmp 0x140027b7b
call fcn.14002a5f4
mov rax, qword [rdi]
mov rcx, rax
cmp dword [rax + 0x14], esi
jl 0x140027b76
mov rdx, qword [rdi + 0x140]
call fcn.14002a754
mov dword [rdi + 8], esi
mov rcx, qword [rdi]
lea r9, [rbp + 0x2e0]
mov r8d, r14d
mov rdx, rbx
call fcn.14002ab00
xor esi, esi
mov ebx, eax
test eax, eax
jg 0x140027bbe
mov rcx, qword [rdi]
call fcn.14002a370
or dword [rdi + 8], 0xffffffff
cmp byte [rbp + 0x2e0], sil
je 0x140027bcb
xor eax, eax
jmp 0x140027be6
test ebx, ebx
jle 0x140027bd6
mov eax, 0x600
jmp 0x140027be6
cmp ebx, 0xffffff96
mov eax, 0x5000000
mov ecx, 0x1000
cmove eax, ecx
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret