Function at 0x180040360
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1a8
mov r13d, edx
movaps xmmword [rax - 0x58], xmm6
add edx, 0x286
mov r12, r9
mov dword [rsp + 0x68], edx
mov r11, r8
mov r15, rcx
cmp r13d, edx
jae 0x180041327
mov esi, dword [rbp + 0xf8]
mov r14d, dword [rbp + 0xf8]
movsd xmm6, qword [0x18034d340]
mov edi, dword [rbp + 0xf8]
mov rbx, qword [rbp - 0x28]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x20], r14
lea r8, [0x180000000]
cmp r13d, 0x133
ja 0x1800412da
je 0x1800412d1
lea eax, [r13 - 0x29]
cmp eax, 0xe5
ja case.0x180040413.56
movzx eax, byte [r8 + rax + 0x41394]
mov ecx, dword [r8 + rax*4 + 0x41354]
add rcx, r8
jmp rcx
mov r12d, 1
mov dword [rbp + 0xf8], r12d
cmp dword [rbp - 0x70], r12d
jle 0x1800404c1
mov r15d, dword [rsp + 0x54]
mov esi, dword [rbp - 0x70]
mov r14, qword [rbp - 0x50]
nop dword [rax + rax]
mov edx, dword [r14 + 0xc]
lea eax, [r15 + 1]
imul eax, edx
lea r8, [rsp + 0x78]
mov ecx, edx
mov dword [rbp + 0xf8], edx
inc r12d
mov dword [rsp + 0x78], edi
imul ecx, r12d
lea rdx, [rsp + 0x70]
mov r9d, 0x73
mov dword [rsp + 0x60], eax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x70], ecx
mov rcx, r11
mov qword [rsp + 0x20], rax
call fcn.1800aa5a0
mov r11, qword [rbp + 0x100]
cmp r12d, esi
jl 0x180040440
mov rsi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x20]
mov edx, dword [rsp + 0x68]
mov dword [rbp + 0xf8], r12d
mov ecx, dword [rsp + 0x54]
xor eax, eax
imul ecx, dword [rbp - 0x70]
mov dword [rsp + 0x78], eax
mov dword [rbp - 0x78], ecx
test ecx, ecx
jle case.0x180040413.56
movsxd rdx, dword [rbp - 0x64]
mov qword [rbp - 0x10], rdx
mov rcx, qword [rbp - 0x40]
lea r8, [rsp + 0x60]
mov edx, 0x40
mov dword [rsp + 0x60], eax
call fcn.1800ab8f0
mov rdx, qword [rbp - 0x58]
movsxd r11, eax
mov dword [rsp + 0x60], eax
mov qword [rbp - 8], r11
cmp dword [rdx + r11*4], 0
je 0x18004094a
mov ecx, dword [rsp + 0x78]
mov r15d, 0xb7
nop dword [rax]
mov eax, r15d
sub eax, 0xb7
je 0x18004090d
sub eax, 1
je 0x180040550
cmp eax, 1
jne 0x18004093a
mov dword [rdx + r11*4], 0
jmp 0x18004093a
mov r8d, dword [rbp - 0x64]
mov edx, 0xcc
mov dword [rsp + 0x70], edx
lea r9d, [r8 + r8*2]
mov dword [rsp + 0x58], r9d
nop word [rax + rax]
cmp edx, 0xcc
je 0x1800406ec
cmp edx, 0x8514
jne 0x180040882
mov ecx, dword [rsp + 0x50]
mov r12d, ecx
mov r13d, dword [rbp - 0x68]
sub r12d, r13d
js 0x1800406cf
mov r8d, dword [rsp + 0x54]
cmp r12d, r8d
jge 0x1800406cf
mov r15d, dword [rbp - 0x6c]
add r15d, dword [rbp + 0xf8]
js 0x1800406cb
cmp r15d, dword [rbp - 0x70]
jge 0x1800406cb
mov eax, r15d
mov edx, 0x40
imul eax, r8d
lea r8, [rbp - 0x80]
sub eax, r13d
add eax, ecx
mov rcx, qword [rbp - 0x40]
mov dword [rbp - 0x80], eax
call fcn.1800ab8f0
cmp eax, dword [rsp + 0x60]
jne 0x1800406cb
mov edx, dword [rbp - 0x6c]
mov ecx, edx
mov r8d, dword [rsp + 0x50]
sub ecx, r13d
add ecx, r8d
js 0x1800406b7
mov r9d, dword [rsp + 0x54]
cmp ecx, r9d
jge 0x1800406b7
mov ecx, dword [rbp + 0xf8]
lea eax, [rdx + r13]
add ecx, eax
js 0x1800406b7
cmp ecx, dword [rbp - 0x70]
jge 0x1800406b7
imul ecx, r9d
sub ecx, r13d
add ecx, edx
mov edx, 0x40
add ecx, r8d
lea r8, [rbp - 0x80]
mov dword [rbp - 0x80], ecx
mov rcx, qword [rbp - 0x40]
call fcn.1800ab8f0
cmp eax, dword [rsp + 0x60]
jne 0x1800406b7
mov ecx, 0x103
nop dword [rax + rax]
mov r12d, dword [rbp + 0xf8]
mov eax, ecx
sub eax, 0x103
je 0x180040690
cmp eax, 1
jne 0x1800406a4
mov edx, dword [rsp + 0x50]
mov dword [rbp - 0x6c], r13d
sub edx, dword [rbp - 0x6c]
mov r13d, dword [rbp - 0x48]
neg r13d
mov dword [rsp + 0x50], edx
sub r12d, r13d
jmp 0x18004069d
mov eax, dword [rbp - 0x6c]
add dword [rsp + 0x50], eax
add r12d, r13d
mov dword [rbp - 0x48], eax
mov dword [rbp + 0xf8], r12d
inc ecx
cmp ecx, 0x105
jb 0x180040660
mov dword [rbp - 0x68], r13d
jmp 0x18004087e
mov dword [rsp + 0x50], r12d
mov r12d, r15d
mov dword [rbp + 0xf8], r15d
jmp 0x18004087e
mov edx, dword [rsp + 0x70]
mov eax, dword [rbp - 0x6c]
mov ecx, r13d
mov r12d, dword [rbp + 0xf8]
neg ecx
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x68], eax
jmp 0x180040882
mov r13d, dword [rbp - 0x68]
test r8d, r8d
jle 0x180040724
mov r10d, dword [rsp + 0x78]
mov eax, r10d
mov ecx, dword [rsp + 0x54]
cdq
idiv ecx
cmp dword [rsp + 0x50], edx
jne 0x180040724
mov eax, r10d
cdq
idiv ecx
cmp r12d, eax
jne 0x180040724
cmp dword [rbp - 0x6c], 0xffffffff
jne 0x180040724
test r13d, r13d
je 0x1800408a6
add r8d, 2
mov dword [rbp - 0x64], r8d
cmp r8d, dword [rbp - 0x44]
jle 0x180040823
mov eax, r9d
mov r15d, 0x42
cdq
sub eax, edx
sar eax, 1
add eax, 0x40
movsxd r12, eax
shl r12, 2
mov dword [rbp - 0x44], eax
cmp r15d, 0x42
je 0x1800407ca
cmp r15d, 0xf6
je 0x18004078e
cmp r15d, 0x13da
je 0x18004080e
cmp r15d, 0x49fe
jne 0x1800407fa
mov rax, qword [rbp + 0x10]
mov rbx, rax
mov qword [rbp - 0x28], rax
mov dword [rax + 0x24], 0
jmp 0x1800407fa
xor r9d, r9d
mov qword [rbp + 8], PathMakeUniqueName
lea rax, [rbp + 8]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x4c]
call fcn.18003ad60
mov qword [rbp + 0x10], rax
mov dword [rax], 0
mov dword [rax + 0x20], 1
mov dword [rax + 0x1c], 1
jmp 0x1800407fa
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1800407e1
mov rdx, r12
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
jmp 0x1800407ea
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x28], rax
mov rbx, rax
test rax, rax
je 0x180041346
add r15d, 0x1398
cmp r15d, 0x61f8
jbe 0x180040751
mov r12d, dword [rbp + 0xf8]
mov r8, rbx
mov r9d, dword [rsp + 0x58]
mov qword [rbp - 0x30], rbx
jmp 0x180040827
mov r8, qword [rbp - 0x30]
mov r10, qword [rbp - 0x10]
add r9d, 6
mov r11, qword [rbp - 0x50]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], r9d
lea eax, [rax*2 + 1]
add eax, dword [rbp - 0x6c]
add eax, r13d
cdq
sub eax, edx
sar eax, 1
inc eax
imul eax, dword [r11 + 0xc]
mov dword [r8 + r10*4], eax
lea eax, [r12 + r12]
sub eax, dword [rbp - 0x6c]
inc eax
add eax, r13d
cdq
sub eax, edx
sar eax, 1
inc eax
imul eax, dword [r11 + 0xc]
mov dword [r8 + r10*4 + 4], eax
add r10, 2
mov qword [rbp - 0x10], r10
mov edx, dword [rsp + 0x70]
mov r8d, dword [rbp - 0x64]
add edx, 0x8448
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x70], edx
cmp edx, 0x10890
jbe 0x180040570
jmp 0x180040550
mov rdx, qword [rbp - 0x58]
lea r9, [rsp + 0x58]
mov rcx, qword [rbp - 8]
mov eax, 0xffffffff
mov r15d, 0xb8
mov dword [rbp - 0x80], edi
cmp dword [rdx + rcx*4], 2
mov rcx, qword [rbp - 0x30]
lea r13d, [r15 + 9]
cmove eax, esi
mov dword [rsp + 0x70], eax
mov eax, r8d
cdq
lea r8, [rsp + 0x70]
sub eax, edx
lea edx, [r15 - 0x4b]
sar eax, 1
mov dword [rsp + 0x58], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x20], rax
call fcn.180014f40
mov ecx, dword [rsp + 0x78]
mov r11, qword [rbp - 8]
jmp 0x180040936
mov eax, ecx
mov dword [rbp - 0x6c], 0xffffffff
cdq
idiv dword [rsp + 0x54]
mov r12d, eax
mov dword [rbp + 0xf8], eax
xor eax, eax
mov dword [rsp + 0x50], edx
xor edx, edx
mov dword [rbp - 0x68], eax
mov qword [rbp - 0x10], rdx
mov dword [rbp - 0x64], eax
mov rdx, qword [rbp - 0x58]
inc r15d
cmp r15d, 0xba
jb 0x180040520
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp eax, dword [rbp - 0x78]
jl 0x1800404e2
jmp 0x180040e61
mov r9, r11
mov dword [rbp + 0xf8], 1
mov r8d, 0x79
lea rdx, [rbp + 0xf8]
xor ecx, ecx
call fcn.180092690
mov r9, qword [rbp + 0x100]
lea rdx, [rbp + 0xf8]
mov r8d, 0x79
mov qword [rbp - 0x20], rax
xor ecx, ecx
mov dword [rbp + 0xf8], 0
mov r14, rax
call fcn.180092690
mov r8, qword [rbp + 0x100]
lea rcx, [rbp + 0xf8]
mov edx, 0xfd
mov dword [rbp + 0xf8], 6
mov rdi, rax
call fcn.1800be8e0
mov rsi, rax
mov qword [rbp - 0x38], rax
mov eax, dword [rsp + 0x54]
xor r9d, r9d
imul eax, dword [rbp - 0x70]
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x4c]
movsxd r15, eax
lea rax, [rbp + 0x18]
shl r15, 2
mov qword [rbp + 0x18], r15
mov qword [rsp + 0x20], rax
call fcn.18003ad60
xor r9d, r9d
mov qword [rbp - 0x40], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x20], r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x4c]
call fcn.18003ad60
mov qword [rbp - 0x58], rax
jmp 0x180040e61
mov r8, qword [rbp]
lea r9, str.options
xor edx, edx
mov qword [rsp + 0x20], r11
lea ecx, [rdx + 0x34]
call fcn.180076e90
mov r15, qword [rbp + 0x100]
lea rax, [0x18034208c]
mov rcx, qword [rbp + 0x110]
mov r9, r15
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0x9c
call fcn.18007ccf0
mov rcx, qword [rbp + 0x120]
lea rax, str.method
mov r9, r15
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x9c
call fcn.18007ccf0
lea rax, str.priority
mov r9, r15
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0x9c
mov rcx, r12
call fcn.18007ccf0
mov rcx, qword [rbp + 0x118]
lea rax, str.message
mov r9, r15
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x9c
call fcn.18007ccf0
jmp 0x180040e61
mov rcx, qword [rbp + 0x110]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x64], 0
mov eax, dword [rcx]
mov dword [rsp + 0x54], eax
mov eax, dword [rcx + 4]
mov dword [rbp - 0x70], eax
jmp case.0x180040413.56
mov edx, dword [rbp - 0x70]
xor r15d, r15d
test edx, edx
js 0x180040d06
mov eax, dword [rsp + 0x54]
mov r14, qword [rbp - 0x50]
mov rsi, qword [rbp + 0x110]
nop word [rax + rax]
xor r13d, r13d
mov dword [rsp + 0x50], r13d
test eax, eax
js 0x180040cf2
xor r12d, r12d
cmp r13d, eax
jge 0x180040c0f
mov eax, dword [rsi + 8]
imul eax, r15d
add eax, r13d
add eax, eax
cdqe
imul rcx, rax, 0x1c
mov rax, qword [rsi + 0x10]
test byte [rcx + rax + 0x28], 2
je 0x180040c0b
mov r10d, dword [r14 + 0xc]
mov r9d, 2
mov eax, r10d
mov dword [rbp - 0x80], edi
cdq
mov ecx, 2
and edx, 0xf
mov r8d, 2
add eax, edx
mov edx, 2
sar eax, 4
cmp eax, r9d
cmovg r9d, eax
cmovg ecx, eax
cmovg edx, eax
cmovg r8d, eax
lea eax, [r9 + r9]
mov dword [rbp - 0x78], eax
lea r9, [rbp - 0x80]
lea eax, [r10 + rcx*2]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
lea eax, [r15 + 1]
imul eax, r10d
sub eax, edx
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x60], eax
lea eax, [r13 + 1]
imul eax, r10d
sub eax, r8d
lea r8, [rsp + 0x60]
mov dword [rsp + 0x78], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x77
mov qword [rsp + 0x20], r11
call fcn.180063bd0
mov edx, dword [rbp - 0x70]
mov r11, qword [rbp + 0x100]
mov eax, dword [rsp + 0x54]
cmp r15d, edx
jge 0x180040cd6
lea eax, [r15*2 + 1]
imul eax, dword [rsi + 8]
add eax, r12d
cdqe
imul rcx, rax, 0x1c
mov rax, qword [rsi + 0x10]
test byte [rcx + rax + 0xc], 2
je 0x180040cd2
mov r10d, dword [r14 + 0xc]
mov r9d, 2
mov eax, r10d
mov dword [rbp - 0x80], edi
cdq
mov ecx, 2
and edx, 0xf
mov r8d, 2
add eax, edx
mov edx, 2
sar eax, 4
cmp eax, r9d
cmovg r9d, eax
cmovg ecx, eax
cmovg edx, eax
cmovg r8d, eax
lea eax, [r10 + r9*2]
mov dword [rbp - 0x78], eax
lea r9, [rbp - 0x80]
lea eax, [rcx + rcx]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
lea eax, [r15 + 1]
imul eax, r10d
sub eax, edx
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x60], eax
lea eax, [r13 + 1]
imul eax, r10d
sub eax, r8d
lea r8, [rsp + 0x60]
mov dword [rsp + 0x78], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x77
mov qword [rsp + 0x20], r11
call fcn.180063bd0
mov edx, dword [rbp - 0x70]
mov eax, dword [rsp + 0x54]
mov r11, qword [rbp + 0x100]
inc r13d
add r12d, 2
cmp r13d, eax
jle 0x180040b46
mov dword [rsp + 0x50], r13d
inc r15d
cmp r15d, edx
jle 0x180040b30
mov rsi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x20]
lea r13d, [rdx + rdx]
xor r15d, r15d
mov dword [rsp + 0x70], r13d
test r13d, r13d
js 0x180040e3c
mov eax, dword [rsp + 0x54]
mov rsi, qword [rbp - 0x50]
mov rbx, qword [rbp + 0x110]
lea r12d, [rax + rax]
nop
mov dword [rsp + 0x50], 0
test r12d, r12d
js 0x180040e21
mov r13d, dword [rsp + 0x50]
nop word [rax + rax]
mov eax, dword [rbx + 8]
imul eax, r15d
add eax, r13d
cdqe
imul rcx, rax, 0x1c
mov rax, qword [rbx + 0x10]
mov edx, dword [rcx + rax + 0xc]
test dl, 1
je 0x180040e04
mov ecx, dword [rsi + 0xc]
lea r9, [rsp + 0x60]
test dl, 8
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
lea r8, [rsp + 0x58]
mov eax, r14d
cmovne eax, edi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
movd xmm1, r13d
sar eax, 2
lea rdx, [rsp + 0x78]
mov dword [rbp - 0x78], eax
cvtdq2pd xmm1, xmm1
movd xmm2, ecx
mov ecx, 0x120
cvtdq2pd xmm2, xmm2
mulsd xmm0, xmm6
mulsd xmm1, xmm6
mulsd xmm0, xmm2
mulsd xmm1, xmm2
addsd xmm0, xmm2
addsd xmm1, xmm2
cvttsd2si eax, xmm0
mov dword [rbp - 0x80], eax
cvttsd2si eax, xmm1
mov dword [rsp + 0x78], eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rax
call fcn.18007c510
mov r11, qword [rbp + 0x100]
inc r13d
cmp r13d, r12d
jle 0x180040d50
mov dword [rsp + 0x50], r13d
mov r13d, dword [rsp + 0x70]
mov r11, qword [rbp + 0x100]
inc r15d
cmp r15d, r13d
jle 0x180040d30
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov ecx, 0x22
call fcn.1800b73a0
mov r13d, dword [rbp + 0xf8]
jmp 0x180040e61
mov rdx, qword [rbp - 0x58]
mov ecx, 0x22
call fcn.1800b73a0
mov edx, dword [rsp + 0x68]
add r13d, 0x26
mov dword [rbp + 0xf8], r13d
cmp r13d, edx
jae 0x180041327
mov r11, qword [rbp + 0x100]
mov r12, qword [rbp + 0x108]
mov r15, qword [rbp + 0xf0]
jmp 0x1800403d6
mov ecx, 0xa4
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xa4
je 0x180040eb9
cmp eax, 1
jne 0x1800410d9
xor eax, eax
jmp 0x18004132a
mov rax, qword [rbp + 0x120]
lea r9, [rbp + 0xf8]
mov r13, qword [rbp + 0x110]
xor edx, edx
mov r8d, 0xea
mov rcx, r13
mov r15d, dword [rax]
mov dword [rbp + 0xf8], r15d
call fcn.180094540
test eax, eax
jne 0x1800410c9
mov r12d, 0xff
nop word [rax + rax]
mov eax, r12d
sub eax, 0xfd
je 0x180041037
sub eax, 1
je 0x180040fb6
cmp eax, 1
jne 0x180041050
mov r11, qword [rbp + 0x100]
movsxd rcx, r15d
add rcx, rcx
mov r8, qword [r11 + 0x18]
mov eax, dword [r8 + rcx*8 + 8]
cmp eax, 0x14
jne 0x180040f4a
mov rax, qword [rbp + 0x108]
mov edx, dword [rax]
test edx, edx
jne 0x180040f5c
jmp 0x180040f6f
cmp eax, 0x15
jne 0x180040f6f
mov rax, qword [rbp + 0x108]
mov edx, dword [rax]
test edx, edx
jne 0x180040f6f
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax]
cmp dword [r8 + rcx*8], eax
je 0x180041088
xor ecx, ecx
mov dword [rbp + 0xf8], r15d
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], r13
mov r9d, 0x102
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rcx
call fcn.18004d5c0
cmp eax, 0xffffffff
jne 0x180041050
mov eax, 0xc
jmp 0x18004132a
mov r11, qword [rbp + 0x100]
movsxd rcx, r15d
add rcx, rcx
mov rdx, qword [r11 + 0x40]
mov eax, dword [rdx + rcx*8 + 4]
test eax, eax
je 0x1800410d0
cmp eax, 2
jne 0x180041050
mov rax, qword [rbp + 0x108]
lea r9, [rbp + 0xf8]
mov r8, r11
mov eax, dword [rax]
mov dword [rbp + 0xf8], eax
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax]
mov dword [rbp - 0x78], eax
mov rax, qword [rdx + rcx*8 + 8]
mov edx, 0xb9
mov ecx, dword [rax + 4]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rbp - 0x18], ecx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r13
call fcn.180040360
test eax, eax
jne 0x18004132a
jmp 0x180041050
mov rax, qword [rbp + 0x100]
movsxd rcx, r15d
add rcx, rcx
mov rax, qword [rax + 0x40]
mov rcx, qword [rax + rcx*8 + 8]
mov r15d, dword [rcx]
dec r12d
cmp r12d, 0xfc
ja 0x180040f00
lea r9, [rbp + 0xf8]
mov dword [rbp + 0xf8], r15d
xor edx, edx
mov r8d, 0xea
mov rcx, r13
call fcn.180094540
test eax, eax
je 0x180040ef0
jmp 0x1800410c9
test edx, edx
jne 0x1800410d0
xor ecx, ecx
mov dword [rbp + 0xf8], r15d
mov qword [rsp + 0x38], rcx
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], r13
mov r9d, 0x102
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rcx
call fcn.18004d5c0
cmp eax, 0xffffffff
je 0x180040fac
mov r11, qword [rbp + 0x100]
mov ecx, 0xa4
lea r13d, [rcx + 0x15]
inc ecx
cmp ecx, 0xa6
jb 0x180040ea0
mov r15, qword [rbp + 0xf0]
lea rax, [rbp + 0xf8]
mov dword [r11 + 0x264], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0xf8], 6
mov rdx, r11
mov ecx, ILAppendID
call fcn.180070930
xor r9d, r9d
mov dword [rsp + 0x20], 0x56
xor r8d, r8d
xor edx, edx
mov rcx, r15
call fcn.18006ca00
mov qword [rbp], rax
jmp 0x180040e61
mov r9, qword [rbp + 0x110]
mov r8d, 0xbf
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x40]
call fcn.180074670
mov rax, qword [rbp - 0x50]
lea rcx, [rbp + 0xf8]
mov r8, qword [rbp + 0x100]
xor r9d, r9d
mov eax, dword [rax + 0xc]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [rbp + 0xf8], eax
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
lea edx, [rax + 0x46]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call fcn.1800b59d0
mov r12d, 1
mov dword [rsp + 0x50], r12d
cmp dword [rsp + 0x54], r12d
jle 0x180040e61
mov r15d, dword [rbp - 0x70]
mov esi, dword [rsp + 0x54]
mov r14, qword [rbp + 0x100]
mov rax, qword [rbp - 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x73
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x58]
mov ecx, dword [rax + 0xc]
lea eax, [r15 + 1]
imul eax, ecx
mov dword [rsp + 0x58], ecx
inc r12d
mov dword [rbp - 0x80], eax
mov eax, r12d
imul eax, ecx
mov rcx, r14
mov dword [rbp - 0x78], eax
mov dword [rbp + 0xf8], eax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.1800aa5a0
cmp r12d, esi
jl 0x1800411d1
mov rsi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x20]
mov dword [rsp + 0x50], r12d
jmp 0x180040e61
lea r9, [rbp + 0xf8]
mov dword [rbp + 0xf8], 6
mov r8, r11
xor edx, edx
mov ecx, 0xbc
call fcn.1800650a0
jmp 0x180040e61
lea r9, [rbp + 0x28]
mov dword [rbp + 0x28], 6
mov r8, r11
mov qword [rsp + 0x20], 0
mov edx, 0x10e
xor ecx, ecx
call fcn.180070ca0
jmp 0x180040e61
mov rcx, qword [rbp]
xor edx, edx
lea r8d, [rdx + 0x76]
call fcn.180072200
mov dword [rbp - 0x60], 0
jmp 0x180040e61
lea rax, [rbp + 0x30]
mov dword [rbp - 0x44], 0
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax]
mov dword [rbp + 0x3c], eax
jmp case.0x180040413.56
mov rdx, qword [rbp - 0x30]
jmp 0x180040e57
cmp r13d, 0x134
je 0x180041327
jmp case.0x180040413.56
mov eax, dword [r11 + 0x40]
jmp 0x18004132a
cmp byte [r11 + 0x118], 0
je 0x1800412fe
mov byte [rbp - 0x60], 0
jmp 0x180041327
mov r9, qword [r11 + 0x100]
lea rdx, [r11 + 0x78]
mov rcx, qword [r11]
mov r8d, 0x4f
call fcn.1800149c0
mov rcx, qword [rbp + 0x100]
mov byte [rbp - 0x60], al
mov byte [rcx + 0x118], al
mov eax, dword [rbp - 0x60]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.set_ReadyList
call fcn.18005dc00
int3