Function at 0x41174d90
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x168], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r12, r8
mov r15, rcx
test rdx, rdx
jne 0x41174ddc
lea eax, [rdx + 1]
jmp 0x41175325
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x20]
call fcn.411741e0
mov rcx, qword [rsp + 0x28]
mov r14, rcx
mov rbp, qword [rsp + 0x30]
cmp rcx, rbp
jbe 0x41174e18
call fcn.41211d60
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
movabs rdi, 0x6bca1af286bca1b
mov rbx, rbp
cmp rcx, rbp
jbe 0x41174e39
call fcn.41211d60
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
cmp r14, rbx
je 0x41175218
cmp r14, rbp
jb 0x41174e4c
call fcn.41211d60
mov rax, qword [0x413611f8]
test rax, rax
jne 0x41174e7e
lea ecx, [rax + 0x38]
call fcn.41211580
mov qword [rsp + 0x40], rax
test rax, rax
je 0x41174e74
mov rcx, rax
call fcn.4115a760
jmp 0x41174e77
mov rax, rsi
mov qword [0x413611f8], rax
mov r8, r12
mov rdx, r14
mov rcx, rax
call fcn.4115a470
test eax, eax
jne 0x411751de
cmp r14, qword [rsp + 0x30]
jb 0x41174ea0
call fcn.41211d60
mov rdx, r14
lea rcx, [rsp + 0xa0]
call fcn.4114d210
nop
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x41174ef9
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rax, rdi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x41174ef9
lea rbx, [r15 + 0x228]
mov edx, 8
mov rcx, rbx
call fcn.411cbec0
jmp 0x41174f0d
lea rbx, [r15 + 0x228]
mov edx, 5
mov rcx, rbx
call fcn.411cbec0
mov rax, qword [0x41361200]
test rax, rax
jne 0x41174f3f
lea ecx, [rax + 8]
call fcn.41211580
mov qword [rsp + 0x40], rax
test rax, rax
je 0x41174f35
mov rcx, rax
call fcn.4115bb10
jmp 0x41174f38
mov rax, rsi
mov qword [0x41361200], rax
mov rcx, rax
call fcn.4115c0f0
mov r13, rax
test rax, rax
je 0x411750ed
cmp r14, qword [rsp + 0x30]
jb 0x41174f5f
call fcn.41211d60
lea rcx, [r13 + 0x20]
mov rdx, r14
call fcn.4114c630
xor r9d, r9d
mov r8, r13
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call fcn.411d0440
mov rbx, qword [r13 + 8]
cmp rbx, qword [r13 + 0x10]
jbe 0x41174f90
call fcn.41211d60
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], rbx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
nop
mov rbx, qword [r13 + 0x10]
cmp qword [r13 + 8], rbx
jbe 0x41174fbf
call fcn.41211d60
test rbp, rbp
je 0x41174fc9
cmp rbp, r13
je 0x41174fce
call fcn.41211d60
cmp rsi, rbx
je 0x411750e1
test rbp, rbp
jne 0x41174fe1
call fcn.41211d60
cmp rsi, qword [rbp + 0x10]
jb 0x41174fec
call fcn.41211d60
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x41174ffa
xor edx, edx
jmp 0x41175006
mov rdx, qword [r12 + 0x10]
sub rdx, rcx
sar rdx, 3
test rcx, rcx
je 0x41175035
mov rax, qword [r12 + 0x18]
sub rax, rcx
sar rax, 3
cmp rdx, rax
jae 0x41175035
mov rcx, qword [r12 + 0x10]
mov rax, qword [rsi]
mov qword [rcx], rax
lea rax, [rcx + 8]
mov qword [r12 + 0x10], rax
jmp 0x411750cd
mov rbx, qword [r12 + 0x10]
cmp rcx, rbx
jbe 0x41175044
call fcn.41211d60
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
mov rdi, qword [r12 + 8]
test rdi, rdi
je 0x4117507c
mov rcx, qword [r12 + 0x10]
mov rax, rcx
sub rax, rdi
sar rax, 3
je 0x4117507c
cmp rdi, rcx
jbe 0x41175073
call fcn.41211d60
sub rbx, rdi
sar rbx, 3
jmp 0x4117507e
xor ebx, ebx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x80], xmm0
mov r9, rsi
mov r8d, 1
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.410d76c0
mov rdi, qword [r12 + 8]
cmp rdi, qword [r12 + 0x10]
jbe 0x411750b6
call fcn.41211d60
lea rax, [rdi + rbx*8]
cmp rax, qword [r12 + 0x10]
ja 0x411750c8
cmp rax, qword [r12 + 8]
jae 0x411750cd
call fcn.41211d60
cmp rsi, qword [rbp + 0x10]
jb 0x411750d8
call fcn.41211d60
add rsi, 8
jmp 0x41174fb0
xor esi, esi
movabs rdi, 0x6bca1af286bca1b
lea rcx, [0x412a02a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x411751ae
mov rdi, qword [rsp + 0xe8]
cmp rcx, rdi
je 0x4117519f
lea rbx, [rcx + 0x80]
cmp qword [rbx], 8
jb 0x41175132
mov rcx, qword [rbx - 0x18]
call fcn.41210d60
mov qword [rbx], 7
mov qword [rbx - 8], rsi
mov word [rbx - 0x18], 0
cmp qword [rbx - 0x30], 8
jb 0x41175153
mov rcx, qword [rbx - 0x48]
call fcn.41210d60
mov qword [rbx - 0x30], 7
mov qword [rbx - 0x38], rsi
mov word [rbx - 0x48], 0
cmp qword [rbx - 0x58], 8
jb 0x41175175
mov rcx, qword [rbx - 0x70]
call fcn.41210d60
mov qword [rbx - 0x58], 7
mov qword [rbx - 0x60], rsi
mov word [rbx - 0x70], 0
add rbx, 0x98
lea rax, [rbx - 0x80]
cmp rax, rdi
jne 0x41175123
mov rcx, qword [rsp + 0xe0]
call fcn.41210d60
movabs rdi, 0x6bca1af286bca1b
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rsi
cmp qword [rsp + 0xc8], 8
jb 0x411751de
mov rcx, qword [rsp + 0xb0]
call fcn.41210d60
mov rcx, r12
call fcn.4106b510
cmp rax, 0x1e
ja 0x4117520e
mov rbp, qword [rsp + 0x30]
cmp r14, rbp
jb 0x41175200
call fcn.41211d60
mov rbp, qword [rsp + 0x30]
add r14, 0x20
mov rcx, qword [rsp + 0x28]
jmp 0x41174e22
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [r12 + 8]
test rdx, rdx
jne 0x41175227
mov rax, rsi
jmp 0x41175233
mov rax, qword [r12 + 0x10]
sub rax, rdx
sar rax, 3
mov r13d, esi
test rax, rax
setne r13b
test rcx, rcx
je 0x41175322
cmp rcx, rbp
je 0x4117531d
lea rsi, [rcx + 8]
xor r14d, r14d
nop
nop
nop
mov rdi, qword [rsi]
test rdi, rdi
je 0x411752fc
mov r12, qword [rsi + 8]
cmp rdi, r12
je 0x411752f4
lea rbx, [rdi + 0x80]
cmp qword [rbx], 8
jb 0x4117528f
mov rcx, qword [rbx - 0x18]
call fcn.41210d60
mov qword [rbx], 7
mov qword [rbx - 8], r14
mov word [rbx - 0x18], r14w
cmp qword [rbx - 0x30], 8
jb 0x411752af
mov rcx, qword [rbx - 0x48]
call fcn.41210d60
mov qword [rbx - 0x30], 7
mov qword [rbx - 0x38], r14
mov word [rbx - 0x48], r14w
cmp qword [rbx - 0x58], 8
jb 0x411752d0
mov rcx, qword [rbx - 0x70]
call fcn.41210d60
mov qword [rbx - 0x58], 7
mov qword [rbx - 0x60], r14
mov word [rbx - 0x70], r14w
add rdi, 0x98
add rbx, 0x98
cmp rdi, r12
jne 0x41175280
mov rcx, qword [rsi]
call fcn.41210d60
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
add rsi, 0x20
lea rcx, [rsi - 8]
cmp rcx, rbp
jne 0x41175260
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov eax, r13d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret