Function at 0x4c6980
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x4c6e66
push rbp
mov rbp, rsp
sub rsp, 0xc8
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x120], r9
mov rdx, qword [rsp + 0xe0]
lea rbx, [rdx - 1]
mov rsi, r10
sub r10, rdx
cmp rdx, rbx
jbe 0x4c6e59
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x120], r9
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x118], r8
mov qword [rsp + 0x130], r11
mov qword [rsp + 0x100], rcx
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + rdx*8 - 8]
mov qword [rsp + 0x68], rcx
lea rbx, [rsi + 1]
mov qword [rsp + 0x88], rbx
nop
mov rax, rdx
call fcn.004c0820
mov qword [rsp + 0xb8], rax
mov rcx, qword [rax]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x70], rdx
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x78], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rbx
mov rsi, qword [rsp + 0xd8]
mov qword [rsp + 0x18], rsi
mov rsi, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rsi
mov rdi, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rdi
mov rdi, qword [rsp + 0x68]
bsr rdi, rdi
mov r8, 0xffffffffffffffff
cmove rdi, r8
add rdi, 0xffffffffffffffc1
neg rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], rdi
call fcn.004c8fa0
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x88]
cmp rdx, rbx
jl 0x4c6af0
nop
jb 0x4c6e51
mov rax, qword [rsp + 0x108]
jmp 0x4c6b42
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
jne 0x4c6b1d
lea rax, [0x0056f500]
mov ebx, 1
mov rcx, rbx
call fcn.0044ae80
mov edx, 1
mov ebx, 1
jmp 0x4c6b42
lea rdx, [rcx + 5]
mov qword [rsp + 0x58], rdx
lea rax, [0x0056f500]
mov rcx, rdx
call fcn.0044ae80
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
cmp rcx, rdx
ja 0x4c6e4c
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xb0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov rbx, qword [rsp + 0x120]
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rcx
mov rbx, qword [rsp + 0x130]
mov qword [rsp + 0x28], rbx
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rbx
nop dword [rax]
call fcn.004c8fa0
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
jae 0x4c6e47
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xb0]
mov qword [rdi + rax*8], r12
mov r12, qword [rsp + 0x100]
test r12, r12
je 0x4c6c16
mov r13, qword [rsp + 0xf0]
lea r15, [r13 + r12*8]
lea r15, [r15 - 8]
mov r8, qword [rsp + 0x58]
lea rax, [rdi + r8*8]
lea rax, [rax - 8]
cmp rax, r15
jne 0x4c6c23
xor r12d, r12d
xor r13d, r13d
jmp 0x4c6c23
mov r8, qword [rsp + 0x58]
mov r13, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x90]
lea r15, [rbx + 1]
cmp r12, r15
jl 0x4c6c40
jae 0x4c6cbe
jmp 0x4c6e3c
test rbx, rbx
jne 0x4c6c7c
lea rax, [0x0056f500]
mov ebx, 1
mov rcx, rbx
call fcn.0044ae80
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x58]
mov r12d, 1
mov r13, rax
mov r15d, 1
jmp 0x4c6cbe
mov qword [rsp + 0x80], r15
lea rcx, [rbx + 5]
mov qword [rsp + 0x50], rcx
lea rax, [0x0056f500]
mov rbx, r15
call fcn.0044ae80
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov r13, rax
mov r15, qword [rsp + 0x80]
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x98], r15
mov qword [rsp + 0x50], r12
mov rdx, qword [rsp + 0xe0]
nop dword [rax + rax]
cmp rdx, 0x64
jge 0x4c6d0b
mov rax, r13
mov rbx, r15
mov rsi, rcx
mov r9, qword [rsp + 0xc0]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov rcx, r12
call fcn.004c6ee0
jmp 0x4c6d2e
mov rax, r13
mov rbx, r15
mov rsi, rcx
mov r9, qword [rsp + 0xc0]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov rcx, r12
call fcn.004c75e0
nop
lea rax, [0x006f40a0]
lea rbx, [0x0059dc40]
mov rcx, qword [rsp + 0xb8]
call fcn.0046d580
nop
mov rdx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x98]
jmp 0x4c6d60
dec rsi
test rsi, rsi
jle 0x4c6d6f
mov rax, qword [rdx + rsi*8 - 8]
test rax, rax
je 0x4c6d5d
mov rax, qword [rsp + 0x50]
cmp rsi, rax
ja 0x4c6e31
mov qword [rsp + 0x98], rsi
mov rax, qword [rsp + 0xb0]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rbx
nop
call fcn.004c9000
xorps xmm15, xmm15
mov r14, qword [0x00748488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
jmp 0x4c6dea
dec rcx
test rcx, rcx
jle 0x4c6df9
mov r9, qword [rax + rcx*8 - 8]
test r9, r9
je 0x4c6de7
mov rdx, qword [rsp + 0x58]
nop
cmp rcx, rdx
ja 0x4c6e2c
mov rbx, qword [rsp + 0x98]
mov rdi, rax
mov rsi, rcx
mov r8, rdx
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
add rsp, 0xc8
pop rbp
ret
call fcn.00465440
mov rcx, rsi
mov rdx, rax
call fcn.00465440
mov rcx, r15
mov rdx, r12
call fcn.00465440
call fcn.004653c0
call fcn.00465440
mov rcx, rbx
call fcn.00465440
mov rax, rbx
mov rcx, rdx
nop
call fcn.004653c0
nop
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x60], r11
call fcn.00463140
mov rax, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
jmp fcn.004c6980