Function at 0x1400023c0
Capabilities:
Allocate or change rwx memory
Create directory
Get file attributes
Parse pe header
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
movaps xmmword [rsp + 0x310], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp + 0x10], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp + 0x68], 0xfc6
mov dword [rbp + 0x60], 0xcabd5e5
mov qword [rbp + 0x70], rdx
lea rax, [rsp + 0x78]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 0x40
mov eax, dword [0x140009878]
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x28]
lea r8, [rbp + 0x60]
mov edx, 0x2209a4
mov rcx, qword [0x140009870]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movups xmm6, xmmword [rsp + 0x78]
movups xmm0, xmmword [rbp - 0x78]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0xe0], xmm0
psrldq xmm0, 0xc
movd ebx, xmm0
test ebx, ebx
jne 0x14000257d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400024d0
lea edx, [rbx + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.____Invalid_Dos_Header._n
call fcn.140001010
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002500
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000253a
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x140002535
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000336e
mov rcx, r8
call fcn.140004a2c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
xor al, al
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400049d0
mov rbx, qword [rsp + 0x370]
movaps xmm6, xmmword [rsp + 0x310]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xb8], 0xfc6
mov dword [rbp + 0xb0], 0xcabd5e5
movsxd rax, ebx
add rax, r14
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0x108
mov eax, dword [0x140009878]
mov dword [rbp + 0xb4], eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x28
lea r8, [rbp + 0xb0]
mov edx, 0x2209a4
mov rcx, qword [0x140009870]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, 0x5a4d
movd eax, xmm6
cmp ax, cx
je 0x140002648
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000263c
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.____Invalid_Dos_Signature._n
jmp 0x1400024d7
cmp dword [rbp + 0xf0], 0x4550
je 0x140002683
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002677
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.____Invalid_Nt_Signature._n
jmp 0x1400024d7
mov esi, dword [rbp + 0x140]
test esi, esi
jne 0x1400026ba
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400026ae
lea edx, [rsi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.____Invalid_Image_Size._n
jmp 0x1400024d7
mov edx, esi
lea rcx, str.___Image_Size:_0x_X_n
call fcn.140001010
mov r15, rsi
mov qword [rsp + 0x68], rsi
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r13, rax
test rax, rax
je 0x140002500
mov ebx, r12d
test esi, esi
je 0x14000276f
nop word [rax + rax]
mov qword [rbp + 0x68], 0xfc6
mov dword [rbp + 0x60], 0xcabd5e5
mov ecx, ebx
lea rax, [rcx + r14]
mov qword [rbp + 0x70], rax
lea rax, [rcx + r13]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 0x1000
mov eax, dword [0x140009878]
mov dword [rbp + 0x64], eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x28
lea r8, [rbp + 0x60]
mov edx, 0x2209a4
mov rcx, qword [0x140009870]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
add ebx, 0x1000
cmp ebx, esi
jb 0x140002700
mov eax, 0x5a4d
cmp word [r13], ax
je 0x140002792
mov r8d, 0x8000
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140002500
movsxd r12, dword [r13 + 0x3c]
add r12, r13
mov qword [rsp + 0x70], r12
cmp dword [r12], 0x4550
je 0x14000280c
mov r8d, 0x8000
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400027f5
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400027f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000336e
mov rcx, r8
call fcn.140004a2c
xor r14d, r14d
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
jmp 0x140002549
movzx ebx, word [r12 + 0x14]
add rbx, 0x2c
lea rcx, str.___Fixing_Sections..._n
call fcn.140001010
xor r14d, r14d
movzx esi, r14w
cmp r14w, word [r12 + 6]
jae 0x1400028e9
add rbx, r12
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
lea rdx, [rbx - 0x14]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140002860
lea rcx, [rbp + 0x40]
call fcn.140003a80
mov r8d, dword [rbx - 8]
mov dword [rbx], r8d
mov r9d, dword [rbx - 0xc]
mov dword [rbx - 4], r9d
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
lea rcx, str.___Fixed_Section___s___0x_X___0x_X__n
call fcn.140001010
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400028d6
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a1f
call fcn.140004a2c
inc si
add rbx, 0x28
cmp si, word [r12 + 6]
jb 0x140002840
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000290c
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.___Fixed_All_Sections__n
call fcn.140001010
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000293b
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov r8d, 5
lea rdx, str.DUMP_
lea rcx, [rbp + 0x40]
call fcn.140003a80
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 9
lea rdx, str.C:Dumps_
lea rcx, [rsp + 0x48]
call fcn.140003a80
nop
lea r9, [rbp + 0x40]
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.1400041d0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400029aa
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140003550
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xor esi, esi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140002a2b
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004a2c
movdqa xmm0, xmmword [0x140006920]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002a7d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a2c
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140002abb
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a2c
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
lea rcx, str.___Dumping_to__s_n
call fcn.140001010
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov r8d, 9
lea rdx, str.C:Dumps_
lea rcx, [rbp + 0x40]
call fcn.140003a80
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140002b4e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a2c
cmp ebx, 0xffffffff
je 0x140002b5c
test bl, 0x10
jne 0x140002c80
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov r8d, 9
lea rdx, str.C:Dumps_
lea rcx, [rbp + 0x40]
call fcn.140003a80
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140002bd7
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002bd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004a2c
test ebx, ebx
jne 0x140002c80
mov r8d, 0x8000
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140002c2d
inc rdx
mov rcx, qword [rbp + 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002c28
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003367
call fcn.140004a2c
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002c77
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002c72
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000336e
mov rcx, r8
call fcn.140004a2c
mov qword [rdi + 0x10], rsi
jmp 0x14000253e
mov dword [rsp + 0x40], 1
mov r14, qword [rbp + 0x28]
mov r15, qword [rbp + 0x18]
lea r12, [0x140009078]
lea rbx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rbx, r15
call fcn.1400056e0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], r14
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140001930
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xb0]
call fcn.14000581c
mov r8d, eax
test eax, eax
jne 0x140002d43
mov edx, dword [rbp + 0xc0]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp + 0x94], ecx
bt edx, 0xa
jae 0x140002d35
mov eax, dword [rbp + 0xc4]
cmp eax, 0xa000000c
jne 0x140002d27
lea eax, [r8 + 4]
jmp 0x140002d68
cmp eax, 0xa0000003
jne 0x140002d35
mov eax, 0xa
jmp 0x140002d68
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140002d68
mov dword [rbp + 0x94], 0xffff
sub eax, 2
je 0x140002d63
sub eax, 1
je 0x140002d63
sub eax, 0x32
je 0x140002d63
cmp eax, 0x46
mov eax, esi
jne 0x140002d68
mov eax, 1
mov dword [rbp + 0x40], r8d
mov qword [rbp + 0x48], r12
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x90], xmm0
test eax, eax
je 0x140002d88
cmp eax, 1
setne bl
jmp 0x140002d93
xor bl, bl
test r8d, r8d
jne 0x14000337b
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140002dd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031d0
call fcn.140004a2c
test bl, bl
je 0x140003201
lea rsi, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
seta r12b
mov r15, qword [rbp + 0x18]
cmova rsi, r15
mov r14, qword [rbp + 0x28]
test r14, r14
je 0x140002e52
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x11e], 1
lea rax, [r14 - 1]
mov rbx, 0xffffffffffffffff
cmp rax, rbx
cmovb rbx, rax
add rbx, rsi
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0xf0], 0
jne 0x140002e4d
cmp rbx, rsi
je 0x140002e52
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0xf0], 0
je 0x140002e38
sub rbx, rsi
jmp 0x140002e59
mov rbx, 0xffffffffffffffff
lea rsi, [rbp + 0x18]
test r12b, r12b
cmovne rsi, r15
test r14, r14
je 0x140002f0a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], rax
mov dword [rbp + 0x148], eax
mov word [rbp + 0x14c], ax
mov byte [rbp + 0x14e], al
xor edx, edx
mov r8d, 0xa0
lea rcx, [rbp + 0x150]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x14f], 1
lea rax, [r14 - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rsi
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0xf0], 0
jne 0x140002f05
nop dword [rax]
cmp rcx, rsi
je 0x140002f0a
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0xf0], 0
je 0x140002ef0
sub rcx, rsi
jmp 0x140002f11
mov rcx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x1400031c5
cmp rcx, 0xffffffffffffffff
je 0x140002f2a
cmp rcx, rbx
jae 0x1400031c5
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
cmp r14, rbx
jb 0x140003375
sub r14, rbx
mov r8, 0xffffffffffffffff
cmp r14, r8
cmovb r8, r14
lea rdx, [rbp + 0x18]
test r12b, r12b
cmovne rdx, r15
add rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140003a80
nop
mov edx, dword [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.1400035f0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], rsi
cmp qword [rbp + 0x28], rbx
cmovb rbx, qword [rbp + 0x28]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
mov r8, rbx
lea rcx, [rbp + 0x90]
call fcn.140003a80
nop
lea r8d, [rsi + 1]
lea rdx, [0x140006704]
lea rcx, [rbp + 0x90]
call fcn.140003550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea r9, [rbp + 0xb0]
lea r8, [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400041d0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x78]
lea rcx, [rbp + 0x60]
call fcn.1400041d0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000305a
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031d7
call fcn.140004a2c
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x28], xmm1
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400030a7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031de
call fcn.140004a2c
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400030e3
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031e5
call fcn.140004a2c
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140003124
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000311f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031ec
call fcn.140004a2c
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x14000317b
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003175
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031f3
call fcn.140004a2c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400031b4
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400031fa
call fcn.140004a2c
mov r14, qword [rbp + 0x28]
mov r15, qword [rbp + 0x18]
inc dword [rsp + 0x40]
jmp 0x140002c90
xor esi, esi
inc dword [rsp + 0x40]
jmp 0x140002c90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rcx, qword [rbp + 0x18]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140003314
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, qword [rsp + 0x70]
mov r8d, dword [r8 + 0x50]
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x68]
mov rcx, r13
test eax, eax
je 0x140002beb
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400032b8
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003367
call fcn.140004a2c
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400032fe
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400032f9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000336e
mov rcx, r8
call fcn.140004a2c
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
jmp 0x14000254b
mov r8d, 0x8000
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140002c2d
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400035d0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x90]
call fcn.140002360
int3