Function at 0x10003ac9c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xb0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r12d, r8d
mov r9, rdx
mov rdi, rcx
xor r14d, r14d
cmp rcx, r14
je 0x10003b018
cmp rdx, r14
je 0x10003b018
mov qword [rax - 0x68], r14
mov dword [rsp + 0x44], r14d
lea r8, [rsp + 0x44]
lea rdx, [rax - 0x68]
mov rcx, r9
call fcn.10006a758
mov rbp, qword [rsp + 0x70]
cmp rbp, r14
je 0x10003b000
mov r13d, dword [rsp + 0x44]
cmp r13d, r14d
je 0x10003b000
lea ebx, [r14 + 0x65]
mov dword [rsp + 0x20], ebx
mov r9b, 1
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call fcn.10004cf80
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x10003ad5a
mov r8, rdi
lea rdx, [0x100019790]
mov ecx, 0x20001
call fcn.1000622b0
mov rcx, rbp
call sub.msvcrt.dll_free
xor al, al
jmp 0x10003b033
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x60], 0x10
mov qword [rsp + 0x68], r14
mov rcx, qword [0x1000b5fe8]
cmp rcx, r14
je 0x10003ada5
cmp dword [rcx + 0xd4], r14d
je 0x10003ada5
lea rax, [0x1000197e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov edx, 0x100
lea r8d, [rdx - 0x40]
call fcn.10003f310
mov edx, ebx
lea rcx, [rsp + 0x88]
call fcn.100060490
mov rbx, rax
mov rcx, qword [0x1000b5fb8]
mov r8, qword [rcx]
lea rdx, [rsp + 0xa0]
call qword [r8 + 0x10]
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x70], xmm0
mov eax, dword [rsp + 0x58]
neg eax
sbb r8, r8
lea rax, [rsp + 0x58]
and r8, rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, qword [rbx + 0x10]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.10004d6d4
cmp eax, r14d
sete bl
mov rcx, qword [rsp + 0x98]
call sub.msvcrt.dll_free
cmp bl, r14b
je 0x10003ae62
mov r8, rdi
lea rdx, [0x100019820]
mov ecx, 0x80
call fcn.1000622b0
mov rcx, rbp
call sub.msvcrt.dll_free
mov r8b, 1
mov edx, r12d
mov rcx, rsi
call fcn.10004cc6c
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x10003ae5b
call qword [sym.imp.msvcrt.dll_free]
xor al, al
jmp 0x10003b033
lea ebx, [r13 + r13]
lea eax, [rbx + 2]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r14d
jne 0x10003aed8
mov r8, rdi
lea rdx, [0x1000198b0]
mov ecx, 0x80
call fcn.1000622b0
mov rcx, rbp
call sub.msvcrt.dll_free
mov r8b, 1
mov edx, r12d
mov rcx, rsi
call fcn.10004cc6c
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x10003aed1
call qword [sym.imp.msvcrt.dll_free]
xor al, al
jmp 0x10003b033
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0xe0], 0xff
mov byte [rsp + 0xe1], 0xfe
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r14d
je 0x10003afc1
cmp dword [rsp + 0x40], 2
jne 0x10003afc1
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r14d
je 0x10003af82
mov rcx, r13
add rcx, rcx
mov eax, dword [rsp + 0x48]
cmp rax, rcx
jne 0x10003af82
mov rcx, rbp
call sub.msvcrt.dll_free
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.10004cc6c
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x10003af7b
call qword [sym.imp.msvcrt.dll_free]
mov al, 1
jmp 0x10003b033
mov r8, rdi
lea rdx, [0x1000199b0]
mov ecx, 0x80
call fcn.1000622b0
mov rcx, rbp
call sub.msvcrt.dll_free
mov r8b, 1
mov edx, r12d
mov rcx, rsi
call fcn.10004cc6c
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x10003afbd
call qword [sym.imp.msvcrt.dll_free]
xor al, al
jmp 0x10003b033
mov r8, rdi
lea rdx, [0x100019930]
mov ecx, 0x80
call fcn.1000622b0
mov rcx, rbp
call sub.msvcrt.dll_free
mov r8b, 1
mov edx, r12d
mov rcx, rsi
call fcn.10004cc6c
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x10003affc
call qword [sym.imp.msvcrt.dll_free]
xor al, al
jmp 0x10003b033
mov r8, rdi
lea rdx, [0x100019700]
mov ecx, 0x20001
call fcn.1000622b0
xor al, al
jmp 0x10003b033
mov dword [rsp + 0x20], r8d
mov r8, rcx
lea rdx, [0x100019650]
mov ecx, 0x80
call fcn.1000622b0
xor al, al
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret