Function at 0x1800056a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1400]
mov eax, 0x1500
call fcn.180025060
sub rsp, rax
mov rax, qword [0x18002e518]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov rdi, rdx
mov r12d, ecx
mov dword [rsp + 0x54], ecx
movdqa xmm0, xmmword [0x180029ed0]
movdqa xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x190], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
movdqa xmmword [rbp + 0x1e0], xmm0
mov byte [rbp + 0x1d0], 0
movdqa xmmword [rbp + 0x210], xmm0
mov byte [rbp + 0x200], 0
movdqa xmmword [rbp + 0x230], xmm0
mov byte [rbp + 0x220], 0
xor ebx, ebx
mov qword [rbp + 0x30], rbx
mov word [rbp + 0x38], bx
movdqu xmmword [rbp + 0x4a], xmm0
mov byte [rbp + 0x3a], bl
mov qword [rbp], rbx
mov word [rbp + 8], bx
movdqu xmmword [rbp + 0x1a], xmm0
mov byte [rbp + 0xa], bl
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rbx
lea ecx, [rbx + 0x30]
call fcn.180024b80
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x78], rbx
xorps xmm2, xmm2
movsd qword [rbp + 0x80], xmm2
mov qword [rbp + 0x88], rbx
mov dword [rbp + 0x90], 1
mov qword [rbp + 0x98], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], 0xffffffffffffffff
mov dword [rbp + 0xe0], ebx
xor eax, eax
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [0x180029ed0]
movdqa xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], al
mov word [rbp + 0x150], bx
mov dword [rbp + 0x154], ebx
mov qword [rbp + 0x158], rbx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x160], xmm0
movsd qword [rbp + 0x170], xmm2
mov byte [rbp + 0x178], al
mov qword [rbp + 0x17c], rbx
mov dword [rsp + 0x38], r12d
lea eax, [r12 + 0xc]
mov dword [rsp + 0x40], eax
lea r9, [0x180000000]
cmp r12d, eax
jae 0x180005d66
lea r14d, [r12 - 0x4f]
mov dword [rsp + 0x48], r14d
lea esi, [rbx + 0x64]
lea edx, [rbx + 0x6e]
lea r10d, [rbx + 0x74]
lea r11d, [rbx + 0x50]
lea r8d, [rbx + 0x6f]
lea r9d, [rbx + 0x72]
mov r12d, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x48]
mov r13, qword [rsp + 0x58]
movzx r15d, byte [rsp + 0x30]
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x40]
cmp r14d, 0x15
ja case.default.0x1800058f3
lea rcx, [0x180000000]
mov ecx, dword [rcx + r14*4 + 0x6568]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov dword [rbp + 0xed6], 0x750070
mov dword [rbp + 0xeda], 0x500074
jmp case.0x1800058f3.3
mov dword [rbp + 0xee4], 0x640069
mov dword [rbp + 0xee8], 0x720065
xor eax, eax
mov word [rbp + 0xeec], ax
lea r8, [0x18002e228]
xor edx, edx
mov ecx, 0x10f
call fcn.18001af60
test al, al
jne 0x180005a3f
mov esi, 0x107
nop dword [rax + rax]
cmp esi, 0x1cd
ja 0x180005a0d
je 0x1800059bf
mov eax, esi
sub eax, 0x107
je 0x18000598d
sub eax, 0x42
je 0x18000597e
cmp eax, 0x42
jne 0x180005a26
lea r12d, [rax - 0x41]
jmp 0x180005a26
mov dword [rbp + 0x248], 0x24c
jmp 0x180005a26
mov r15b, 1
xor eax, eax
mov r13d, eax
xor edx, edx
mov r8d, 0x24c
lea rcx, [rbp + 0x240]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xa00
lea rcx, [rbp + 0x490]
call sub.VCRUNTIME140.dll_memset
jmp 0x180005a26
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r14, rax
mov r8d, r12d
lea rdx, [rbp + 0x240]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetLogColorSpaceW]
cmp r14, 0xffffffffffffffff
jne 0x1800059eb
xor r15b, r15b
jmp 0x180005a26
test r15b, r15b
je 0x180005a26
lea r9, [rsp + 0x50]
mov r8d, 0x80
lea rdx, [rbp + 0x490]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
jmp 0x180005a26
mov eax, esi
sub eax, 0x20f
je 0x180005a21
cmp eax, 0x42
je 0x1800062ae
jmp 0x180005a26
mov ebx, 1
add esi, 0x42
cmp esi, 0x293
jb 0x180005950
mov r14d, dword [rsp + 0x48]
mov esi, 0x64
mov r11d, 0x50
lea r10d, [r11 + 0x24]
lea r9d, [r11 + 0x22]
lea r8d, [r11 + 0x1f]
mov edx, 0x6e
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
inc r14d
mov dword [rsp + 0x48], r14d
cmp eax, ecx
jb 0x1800058d0
mov r12d, dword [rsp + 0x54]
lea r9, [0x180000000]
lea edi, [r12 + 0x1e1]
mov dword [rsp + 0x50], edi
cmp r12d, edi
jae 0x1800062ae
mov edx, 0x1bb
lea r8, [0x180007ab0]
movzx esi, byte [rsp + 0x30]
movzx r14d, byte [rsp + 0x30]
mov r15, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x50]
nop word [rax + rax]
cmp r12d, 0x13a
ja 0x180005f09
je 0x180005e82
lea eax, [r12 - 0x5c]
cmp eax, 0xb9
ja case.0x180005f30.357
movzx eax, byte [r9 + rax + 0x65dc]
mov ecx, dword [r9 + rax*4 + 0x65c0]
add rcx, r9
jmp rcx
mov r8d, 4
lea rdx, [0x180029960]
lea rcx, [rbp + 0xe90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, word [0x180029964]
mov word [rbp + 0xe93], ax
movzx eax, word [0x180029968]
mov word [rbp + 0xe95], ax
movzx eax, byte [0x18002996a]
mov byte [rbp + 0xe97], al
jmp 0x180005a3f
mov dword [rbp + 0xec6], 0x4d0064
mov word [rbp + 0xeca], r8w
jmp case.0x1800058f3.3
mov dword [rbp + 0xecc], 0x730075
jmp case.0x1800058f3.3
mov dword [rbp + 0xec0], 0x770048
mov word [rbp + 0xec4], dx
jmp case.0x1800058f3.3
mov sil, 0x41
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180005bac
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180005ba1
mov rax, qword [rdi]
mov byte [rax + rcx], sil
mov byte [rax + rcx + 1], 0
jmp 0x180005bbf
movzx r9d, sil
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.180001db0
inc sil
cmp sil, 0x5a
jbe 0x180005b80
mov sil, 0x30
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180005bfc
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180005bf1
mov rax, qword [rdi]
mov byte [rax + rcx], sil
mov byte [rax + rcx + 1], 0
jmp 0x180005c0f
movzx r9d, sil
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.180001db0
inc sil
cmp sil, 0x39
jbe 0x180005bd0
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180005c44
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180005c39
mov rax, qword [rdi]
mov word [rax + rcx], 0x2d
jmp 0x180005a3a
mov r9b, 0x2d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.180001db0
jmp 0x180005a3a
mov word [rbp + 0xe97], dx
movzx eax, word [0x18002996c]
mov word [rbp + 0xe98], ax
mov word [rbp + 0xe9a], r8w
mov r8d, 2
lea rdx, [0x180029970]
lea rcx, [rbp + 0xe9b]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x180005a3f
mov word [rbp + 0xede], r9w
mov dword [rbp + 0xee0], 0x76006f
jmp case.0x1800058f3.3
mov edx, 0x40
mov rcx, rdi
call fcn.180018640
mov sil, 0x61
nop
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180005cec
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180005ce1
mov rax, qword [rdi]
mov byte [rax + rcx], sil
mov byte [rax + rcx + 1], 0
jmp 0x180005cff
movzx r9d, sil
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.180001db0
inc sil
cmp sil, 0x7a
jbe 0x180005cc0
jmp 0x180005a3a
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180005d39
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180005d2e
mov rax, qword [rdi]
mov word [rax + rcx], 0x5f
jmp 0x180005a51
mov r9b, 0x5f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.180001db0
jmp 0x180005a3f
mov dword [rbp + 0xed0], 0x490065
mov word [rbp + 0xed4], dx
jmp case.0x1800058f3.3
mov ebx, dword [rsp + 0x48]
jmp 0x180005a80
lea r8, [rbp + 0x190]
mov edx, 0x51
lea rcx, [rbp + 0x200]
call fcn.18000c0a0
mov eax, 0x1bb
mov word [rsp + 0x38], ax
lea r9, [rbp + 0x30]
mov r8d, 0x40
lea rdx, [0x18002e288]
lea rcx, [rsp + 0x38]
call fcn.180015da0
mov eax, 0x1bb
mov word [rsp + 0x38], ax
lea r9, [rsp + 0x38]
mov r8d, 0x10b
lea rdx, [0x18002e2a8]
lea rcx, [rbp]
call fcn.180019da0
jmp 0x180006284
xor eax, eax
mov qword [rbp - 0x30], rax
jmp case.0x180005f30.357
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov byte [rsp + 0x30], 1
lea rax, [rbp + 0xe90]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180005e02
lea rdx, [rbp + 0xe90]
lea rcx, [rbp + 0x190]
call fcn.180017000
mov r8d, 1
lea rdx, [0x180028b70]
lea rcx, [rbp + 0x1b0]
call fcn.180017000
jmp 0x180006284
mov word [rbp + 0x1f0], dx
jmp case.0x180005f30.357
xor edx, edx
lea r8d, [rdx + 0x49]
lea rcx, [rbp + 0x1d0]
call fcn.1800112a0
mov qword [rsp + 0x68], 0xffffffffffffffff
jmp 0x180006284
mov r9d, 0x105
xor r8d, r8d
lea rdx, [rbp - 0x80]
xor ecx, ecx
call fcn.18000e5f0
jmp 0x180006284
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x180005eaa
lea rax, [rbp + 0x30]
mov qword [rdx], rax
mov rdx, qword [rbp - 0x78]
add rdx, 8
mov qword [rbp - 0x78], rdx
jmp 0x180005ebc
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.1800011a0
mov rdx, qword [rbp - 0x78]
lea rax, [rbp]
mov qword [rsp + 0x48], rax
cmp rdx, qword [rbp - 0x70]
je 0x180005ed9
lea rax, [rbp]
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x180005ee7
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.1800011a0
mov eax, dword [0x18002e2d0]
mov dword [rsp + 0x48], eax
lea r8, [rbp - 0x80]
mov edx, 0x17
lea rcx, [rsp + 0x48]
call fcn.18000cc00
jmp 0x180006284
lea eax, [r12 - 0x15f]
cmp eax, 0xb9
ja case.0x180005f30.357
movzx eax, byte [r9 + rax + 0x66b4]
mov ecx, dword [r9 + rax*4 + 0x6698]
add rcx, r9
jmp rcx
mov r8d, dword [rsp + 0x40]
lea rdx, [rbp + 0x10d0]
mov rcx, qword [rbp - 0x30]
call sub.IMM32.dll_ImmGetIMEFileNameA
jmp 0x180006284
lea rax, [rbp - 0x80]
mov qword [rbp - 0x20], rax
mov eax, dword [0x18002e2d0]
mov dword [rbp - 0x18], eax
mov eax, dword [0x18002e2d4]
mov dword [rbp - 0x14], eax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
mov r8d, 0x104
lea rdx, [rbp + 0x11e0]
lea rcx, [rbp + 0xec0]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov qword [rsp + 0x68], rax
jmp 0x180006284
lea r9, [0x18002e220]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x60]
mov ecx, 0x5a
call fcn.18000d4e0
mov edx, 0x6a
lea rcx, [rbp + 0x60]
call fcn.1800079c0
cmp byte [rsp + 0x30], 0
je 0x180006284
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
jmp 0x180006284
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0x48]
mov edx, 0x122
xor ecx, ecx
call fcn.180003680
xor eax, eax
mov ecx, eax
movzx eax, byte [rsp + 0x30]
cmp qword [rsp + 0x68], 0xffffffffffffffff
cmovne ecx, eax
mov byte [rsp + 0x30], cl
jmp 0x180006284
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x10]
lea r8, [0x18000fb60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r12, rax
test rax, rax
jne 0x180006276
mov edi, 0x51
nop
cmp edi, 0x43a
ja 0x180006160
je 0x180006151
cmp edi, 0x1fe
ja 0x1800060df
je 0x1800060d1
cmp edi, 0x51
je 0x1800060a5
cmp edi, 0xe0
je 0x180006085
cmp edi, 0x16f
jne 0x180006260
mov byte [rbp + 0xea9], 0
jmp 0x180006260
movzx eax, word [0x180029a28]
mov word [rbp + 0xea6], ax
movzx eax, byte [0x180029a2a]
mov byte [rbp + 0xea8], al
jmp 0x180006260
mov byte [rbp + 0xea0], 0x44
mov eax, dword [0x180029a50]
mov dword [rbp + 0xea1], eax
movzx eax, byte [0x180029a54]
mov byte [rbp + 0xea5], al
mov byte [rbp + 0xea6], 0
jmp 0x180006260
mov word [rbp + 0xea9], 0x64
jmp 0x180006260
cmp edi, 0x28d
je 0x180006140
cmp edi, 0x31c
je 0x180006134
cmp edi, 0x3ab
jne 0x180006260
mov eax, dword [0x180029995]
mov dword [rbp + 0xeac], eax
movzx eax, byte [0x180029999]
mov byte [rbp + 0xeb0], al
movzx eax, word [0x1800299c6]
mov word [rbp + 0xeb1], ax
movzx eax, byte [0x1800299c8]
mov byte [rbp + 0xeb3], al
jmp 0x180006260
mov byte [rbp + 0xeac], 0
jmp 0x180006260
mov eax, 0x6220
mov word [rbp + 0xeaa], ax
jmp 0x180006260
mov byte [rbp + 0xeb4], 0
mov sil, 1
jmp 0x180006260
cmp edi, 0x676
ja 0x18000621a
je 0x1800061ed
cmp edi, 0x4c9
je 0x1800061c6
cmp edi, 0x558
je 0x180006196
cmp edi, 0x5e7
jne 0x180006260
xor eax, eax
mov qword [rsp + 0x70], rax
jmp 0x180006260
xor eax, eax
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x240]
xor edx, edx
lea rcx, [rbp + 0xea0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov r15, rax
jmp 0x180006260
mov r14b, 1
mov qword [rsp + 0x58], 0xffffffffffffffff
xor eax, eax
mov r13d, eax
xor edx, edx
mov r8d, 0x140
lea rcx, [rbp + 0x240]
call sub.VCRUNTIME140.dll_memset
jmp 0x180006260
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x60]
mov edx, r13d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
xor eax, eax
mov ecx, eax
movzx eax, r14b
cmp r15, 0xffffffffffffffff
cmovne ecx, eax
movzx r14d, cl
jmp 0x180006260
cmp edi, 0x705
je 0x180006230
cmp edi, 0x794
je 0x1800062ae
jmp 0x180006260
test r14b, r14b
je 0x18000623e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rsp + 0x70], 0
jne 0x18000624b
xor sil, sil
jmp 0x18000625b
test sil, sil
je 0x18000625b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
add edi, 0x8f
cmp edi, 0x823
jb 0x180006040
mov edi, dword [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [rsp + 0x54]
mov edx, 0x1bb
lea r8, [0x180007ab0]
add r12d, 0x25
mov dword [rsp + 0x54], r12d
cmp r12d, edi
jae 0x1800062ae
lea r9, [0x180000000]
jmp 0x180005ac0
xor eax, eax
mov ebx, eax
lea rcx, [rbp + 0xd8]
call fcn.180003220
mov rdi, qword [rbp + 0xc0]
test rdi, rdi
je 0x180006338
mov rsi, qword [rbp + 0xc8]
cmp rdi, rsi
je 0x1800062ea
mov rcx, rdi
call fcn.180016ab0
add rdi, 0x20
cmp rdi, rsi
jne 0x1800062d2
mov rdi, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xd0]
sub rdx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rdi
cmp rdx, 0x1000
jb 0x180006319
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006376
mov rcx, rdi
call fcn.180024bbc
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xor r14d, r14d
mov qword [rbp + 0xd0], r14
jmp 0x18000633b
xor r14d, r14d
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x180006394
mov rdx, qword [rbp + 0xb8]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000637d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000637d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024bbc
mov qword [rbp + 0xa8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0x68]
call fcn.180003150
nop
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x180006428
mov rsi, qword [rbp - 0x60]
cmp rdi, rsi
je 0x1800063c9
mov rcx, rdi
call fcn.180002a60
add rdi, 0x28
cmp rdi, rsi
jne 0x1800063b4
mov rdi, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x58]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x180006414
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006465
mov rcx, rdi
call fcn.180024bbc
mov qword [rbp - 0x68], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18000647d
mov rax, qword [rbp - 0x70]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000646c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000646c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024bbc
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp + 0x22]
cmp rdx, 0x10
jb 0x1800064bb
inc rdx
mov rcx, qword [rbp + 0xa]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024bbc
movdqa xmm0, xmmword [0x180029ed0]
movdqu xmmword [rbp + 0x1a], xmm0
mov byte [rbp + 0xa], 0
mov rdx, qword [rbp + 0x52]
cmp rdx, 0x10
jb 0x18000650a
inc rdx
mov rcx, qword [rbp + 0x3a]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006505
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006505
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180024bbc
movdqa xmm0, xmmword [0x180029ed0]
movdqu xmmword [rbp + 0x4a], xmm0
mov byte [rbp + 0x3a], 0
lea rcx, [rbp + 0x200]
call fcn.180002dc0
nop
lea rcx, [rbp + 0x190]
call fcn.180002e70
mov eax, ebx
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.1800250d0
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret