Function at 0x14001c890
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp], rax
mov r14d, dword [rbp + 0x80]
lea rax, [rsp + 0x70]
mov rbx, rcx
mov qword [str.SCOOF_MOMENTO], rax
mov rcx, r8
mov dword [0x140061050], 0x213
mov edi, r9d
mov rsi, r8
mov r15, rdx
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x140061050], 0x213
mov r12, rax
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001c96c
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001c925
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001c96c
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c967
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c967
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
xor eax, eax
mov qword [rsp + 0x118], r13
mov qword [rbp - 0xc], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x2c], xmm0
mov eax, r14d
mov dword [rbp - 0x30], 0x28
neg eax
mov dword [rbp - 0x2c], edi
mov dword [rbp - 0x28], eax
mov ecx, r14d
imul ecx, edi
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
mov eax, 4
movups xmmword [rbp - 0x1c], xmm0
mov qword [rbp - 0x24], 0x200001
mov dword [0x140061050], 0x213
mul ecx
mov dword [rsp + 0x60], ecx
mov ecx, eax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [0x140061050], 0x213
mov r13, rax
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001ca5e
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001ca17
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001ca5e
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ca59
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ca59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 0
mov qword [str.SCOOF_MOMENTO], rax
mov r9d, r14d
lea rax, [rbp - 0x30]
mov dword [0x140061050], 0x213
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
jne 0x14001cbc9
cmp dword [0x140061050], 0x213
je 0x14001cb26
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cadf
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001cb26
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cb21
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cb21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rdx, r12
mov dword [0x140061050], 0x213
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001d13b
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cb7b
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001d13b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d136
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp dword [0x140061050], 0x213
je 0x14001cc3f
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cbf8
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001cc3f
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cc3a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cc3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
cmp qword [rbx + 0x18], 0x10
mov dword [0x140061050], 0x213
jb 0x14001cc53
mov rbx, qword [rbx]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [0x140061050], 0x213
mov rbx, rax
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001cd04
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001ccbd
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001cd04
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ccff
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ccff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
cmp rbx, 0xffffffffffffffff
jne 0x14001cdbd
lea rax, [rsp + 0x70]
mov rdx, r12
mov rcx, rsi
mov qword [str.SCOOF_MOMENTO], rax
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001d13b
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cd6f
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001d13b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d136
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edi, dword [rsp + 0x60]
lea rdx, [rbp - 0x40]
mov eax, 0x4d42
mov dword [rbp - 0x36], 0x3a
mov word [rbp - 0x40], ax
xor r9d, r9d
mov rcx, rbx
mov dword [rbp - 0x3a], r14d
lea edi, [rdi*4]
mov qword [rsp + 0x20], r14
lea eax, [rdi + 0x3a]
mov dword [rbp - 0x3e], eax
lea r8d, [r9 + 0xe]
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001cf8c
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x30]
mov rcx, rbx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001cf8c
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8d, edi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001cf8c
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001ceda
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001ce93
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001ceda
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ced5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ced5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rdx, r12
mov dword [0x140061050], 0x213
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001cf72
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cf2b
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001cf72
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cf6d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cf6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rcx, rbx
mov dword [0x140061050], 0x213
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001d150
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001d00e
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001cfc7
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001d00e
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d009
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d009
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rcx, rbx
mov dword [0x140061050], 0x213
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001d0a3
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001d05c
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001d0a3
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d09e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d09e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rdx, r12
mov dword [0x140061050], 0x213
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x140061050], 0x213
lea rax, [rsp + 0x70]
mov qword [str.SCOOF_MOMENTO], rax
je 0x14001d13b
mov edx, 0x1dcc497
mov dword [0x140061050], 0x1dcc497
lea rcx, [rsp + 0x40]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14001d0f4
mov rax, qword [rax]
mov rdx, qword [rsp + 0x58]
mov qword [str.SCOOF_MOMENTO], rax
cmp rdx, 0x10
jb 0x14001d13b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d136
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rcx, r13
mov dword [0x140061050], 0x213
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov r13, qword [rsp + 0x118]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140031050
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret