Function at 0x4c2460
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x4c28a2
push rbp
mov rbp, rsp
sub rsp, 0xc8
mov qword [rsp + 0x130], r11
mov qword [rsp + 0x128], r10
mov qword [rsp + 0x120], r9
mov qword [rsp + 0x118], r8
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov rsi, qword [rbx + rdx*8 - 8]
mov qword [rsp + 0xa0], rsi
lea r12, [r10 + 1]
mov qword [rsp + 0x98], r12
sub r10, rdx
mov qword [rsp + 0x80], r10
nop
mov rax, rdx
call fcn.004bcc80
mov qword [rsp + 0xc0], rax
mov rcx, qword [rax]
mov qword [rsp + 0xb8], 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 + 0xa0]
bsr rdi, rdi
mov r8, 0xffffffffffffffff
cmove rdi, r8
add rdi, 0xffffffffffffffc1
neg rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x30], rdi
call fcn.004c4560
xorps xmm15, xmm15
mov r14, qword [0x0074e078]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x98]
cmp rcx, rbx
jl 0x4c25a7
mov rax, qword [rsp + 0x108]
jmp 0x4c25f9
mov rcx, qword [rsp + 0x128]
test rcx, rcx
jne 0x4c25d4
lea rax, [0x00551a40]
mov ebx, 1
mov rcx, rbx
call fcn.004444c0
mov ecx, 1
mov ebx, 1
jmp 0x4c25f9
lea rdx, [rcx + 5]
mov qword [rsp + 0x60], rdx
lea rax, [0x00551a40]
mov rcx, rdx
call fcn.004444c0
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0xb0], rax
mov qword [rsp], rax
mov rdx, qword [rsp + 0x128]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov rsi, qword [rsp + 0x120]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rsi, qword [rsp + 0x130]
mov qword [rsp + 0x28], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x30], rsi
call fcn.004c4560
xorps xmm15, xmm15
mov r14, qword [0x0074e078]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0xb0]
mov qword [rdi + rcx*8], rax
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x4c26bf
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x4c26b5
mov rdx, qword [rsp + 0xf0]
lea r12, [rdx + rax*8]
lea r12, [r12 - 8]
lea r13, [rdi + r8*8]
lea r13, [r13 - 8]
cmp r13, r12
jne 0x4c26cc
xor eax, eax
xor edx, edx
jmp 0x4c26cc
mov rdx, qword [rsp + 0xf0]
jmp 0x4c26cc
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x80]
lea r12, [rbx + 1]
cmp rax, r12
jge 0x4c2753
nop dword [rax]
test rbx, rbx
jne 0x4c2716
lea rax, [0x00551a40]
mov ebx, 1
mov rcx, rbx
call fcn.004444c0
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov eax, 1
mov r12d, 1
jmp 0x4c2753
mov qword [rsp + 0x90], r12
lea rcx, [rbx + 5]
mov qword [rsp + 0x58], rcx
lea rax, [0x00551a40]
mov rbx, r12
call fcn.004444c0
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov rax, qword [rsp + 0x58]
mov r12, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0xa8], rdx
mov r13, qword [rsp + 0xe0]
cmp r13, 0x64
jge 0x4c279a
mov rbx, r12
mov rcx, rax
mov rsi, qword [rsp + 0x50]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov rax, rdx
call fcn.004c2920
jmp 0x4c27bf
mov rbx, r12
mov rcx, rax
mov rsi, qword [rsp + 0x50]
mov r9, qword [rsp + 0xb8]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
mov rax, rdx
call fcn.004c2e80
nop
lea rax, [0x006c8720]
lea rbx, [0x00586700]
mov rcx, qword [rsp + 0xc0]
call fcn.004634e0
nop
mov rdx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x48]
jmp 0x4c27ee
dec rsi
mov qword [rsp + 0x88], rsi
test rsi, rsi
jle 0x4c2805
mov rax, qword [rdx + rsi*8 - 8]
test rax, rax
je 0x4c27eb
mov rax, qword [rsp + 0xb0]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rbx
nop
call fcn.004c45c0
xorps xmm15, xmm15
mov r14, qword [0x0074e078]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
jmp 0x4c286a
dec rcx
test rcx, rcx
jle 0x4c2879
mov rdx, qword [rax + rcx*8 - 8]
test rdx, rdx
je 0x4c2867
mov rbx, qword [rsp + 0x88]
mov rdi, rax
mov rsi, rcx
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
add rsp, 0xc8
pop rbp
ret
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.00458b40
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.004c2460