Function at 0x411f4010
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x138], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ebp, r9d
mov r15, r8
mov qword [rsp + 0x30], rdx
mov r14, rcx
xor r13d, r13d
lea rsi, [r8 + 0x38]
mov rbx, qword [rsi + 8]
cmp rbx, qword [rsi + 0x10]
jbe 0x411f4070
call fcn.41211d60
nop
nop
mov rdi, qword [rsi + 0x10]
cmp qword [rsi + 8], rdi
jbe 0x411f407f
call fcn.41211d60
cmp rsi, rsi
je 0x411f4089
call fcn.41211d60
cmp rbx, rdi
je 0x411f4418
cmp rbx, qword [rsi + 0x10]
jb 0x411f409d
call fcn.41211d60
cmp dword [rbx], 0
je 0x411f40ab
cmp ebp, r13d
je 0x411f40bf
add r13d, 1
cmp rbx, qword [rsi + 0x10]
jb 0x411f40b6
call fcn.41211d60
add rbx, 0x98
jmp 0x411f4070
cmp r13d, 0xffffffff
je 0x411f4418
movsxd r12, r13d
mov rax, qword [rsi + 8]
movabs rdx, 0x6bca1af286bca1b
test rax, rax
je 0x411f40ff
mov rcx, qword [rsi + 0x10]
sub rcx, rax
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x411f4104
call fcn.41211d60
imul r12, r12, 0x98
add r12, qword [rsi + 8]
lea rdi, [r14 + 0x28]
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
jbe 0x411f4122
call fcn.41211d60
mov rbp, qword [rdi + 0x10]
cmp qword [rdi + 8], rbp
jbe 0x411f4131
call fcn.41211d60
cmp rdi, rdi
je 0x411f413b
call fcn.41211d60
cmp rbx, rbp
je 0x411f416f
cmp rbx, qword [rdi + 0x10]
jb 0x411f414b
call fcn.41211d60
mov eax, dword [r12 + 0x90]
cmp dword [rbx], eax
je 0x411f4168
cmp rbx, qword [rdi + 0x10]
jb 0x411f4162
call fcn.41211d60
add rbx, 4
jmp 0x411f4122
xor eax, eax
jmp 0x411f441a
mov rax, qword [rsi + 8]
test rax, rax
je 0x411f41bb
mov rcx, qword [rsi + 0x10]
sub rcx, rax
movabs rax, 0x6bca1af286bca1b
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jbe 0x411f41bb
lea rdx, [r12 + 0x90]
mov rcx, r14
call fcn.411d0940
test eax, eax
je 0x411f41bb
xor eax, eax
jmp 0x411f441a
mov qword [rsp + 0x98], 7
xor ebp, ebp
mov qword [rsp + 0x90], rbp
mov word [rsp + 0x80], bp
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], rbp
mov dword [rsp + 0xa0], ebp
xor r8d, r8d
lea rdx, [0x412a02a8]
lea rcx, [rsp + 0x78]
call fcn.41024690
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0xa4], ebp
cmp dword [r12 + 0x58], ebp
jne 0x411f4225
lea rdx, [r12 + 8]
jmp 0x411f422a
lea rdx, [r12 + 0x30]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x40]
call fcn.41022de0
nop
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea r9, [rsp + 0x70]
mov rdx, qword [r14]
mov rcx, r14
call fcn.411f10c0
test eax, eax
je 0x411f43bf
mov rdi, qword [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.4114be90
lea rdx, [r15 + 8]
lea rcx, [rdi + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.41022de0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, rsi
lea rdx, [rdi + 0x38]
mov rcx, r14
call fcn.411f0fc0
mov r11, qword [rsp + 0xb0]
test r11, r11
jne 0x411f42cf
mov rdx, rbp
movabs r12, 0x6bca1af286bca1b
jmp 0x411f42f8
mov rcx, qword [rsp + 0xb8]
sub rcx, r11
movabs r12, 0x6bca1af286bca1b
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [rsp + 0x20], edx
xor r9d, r9d
lea r8, [rsp + 0xa8]
lea rdx, [rdi + 0x38]
mov rcx, r14
call fcn.411f0fc0
lea r9d, [r13 + 1]
mov rax, qword [rsi + 8]
test rax, rax
jne 0x411f4325
mov rdx, rbp
jmp 0x411f4340
mov rcx, qword [rsi + 0x10]
sub rcx, rax
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
sub edx, r9d
mov dword [rsp + 0x20], edx
mov r8, rsi
lea rdx, [rdi + 0x38]
mov rcx, r14
call fcn.411f0fc0
mov rcx, rdi
call fcn.411d07e0
nop
cmp qword [rsp + 0x60], 8
jb 0x411f4371
mov rcx, qword [rsp + 0x48]
call fcn.41210d60
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], 0
lea rcx, [0x412a02a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0xa8]
call fcn.4114b610
cmp qword [rsp + 0x98], 8
jb 0x411f43b8
mov rcx, qword [rsp + 0x80]
call fcn.41210d60
mov eax, 1
jmp 0x411f441a
cmp qword [rsp + 0x60], 8
jb 0x411f43d1
mov rcx, qword [rsp + 0x48]
call fcn.41210d60
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbp
mov word [rsp + 0x48], 0
lea rcx, [0x412a02a8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0xa8]
call fcn.4114b610
cmp qword [rsp + 0x98], 8
jb 0x411f4418
mov rcx, qword [rsp + 0x80]
call fcn.41210d60
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x138]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret