Function at 0x4d4fc0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4d5333
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xd0], rdi
nop
test r9, r9
jne 0x4d5115
cmp rsi, rbx
jne 0x4d5028
test rbx, rbx
jle 0x4d5028
cmp rdi, rax
jne 0x4d5028
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rcx, rcx
jle 0x4d504b
test r8, r8
jle 0x4d504b
lea r10, [rax + rcx*8]
lea r10, [r10 - 8]
lea r11, [rdi + r8*8]
lea r11, [r11 - 8]
cmp r11, r10
je 0x4d5115
cmp rsi, rcx
jg 0x4d5055
mov rdx, rsi
jmp 0x4d50bd
cmp rsi, 1
jne 0x4d508b
lea rax, [0x00613b60]
mov ebx, 1
mov rcx, rbx
call fcn.004493a0
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov esi, 1
mov ecx, 1
jmp 0x4d50bd
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x00613b60]
mov rbx, rsi
nop
call fcn.004493a0
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov rsi, rdx
mov rcx, qword [rsp + 0x50]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
cmp rdi, rax
je 0x4d5105
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0xa0], rax
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call fcn.00463c40
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rsi, rsi
je 0x4d52ba
mov r10, r9
shr r9, 6
mov qword [rsp + 0x80], r9
lea r11, [r9 + rsi]
mov qword [rsp + 0x60], r11
lea rbx, [r9 + rsi]
lea rbx, [rbx + 1]
nop
cmp rcx, rbx
jl 0x4d5150
jae 0x4d51f6
jmp 0x4d5327
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x70], r8
test r11, r11
jne 0x4d51a6
lea rax, [0x00613b60]
mov ebx, 1
mov rcx, rbx
call fcn.004493a0
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
mov ecx, 1
mov ebx, 1
jmp 0x4d51f6
mov qword [rsp + 0x68], rbx
lea rcx, [r9 + rsi]
lea rcx, [rcx + 5]
mov qword [rsp + 0x48], rcx
lea rax, [0x00613b60]
nop
call fcn.004493a0
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
cmp rcx, r11
jb 0x4d531c
nop
cmp r9, r11
ja 0x4d5311
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x98], rax
sub rcx, r9
mov rbx, rcx
neg rcx
shl r9, 3
sar rcx, 0x3f
and r9, rcx
lea rcx, [rax + r9]
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
and r10, 0x3f
mov qword [rsp + 0x30], r10
call fcn.004dc920
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x4d5309
mov rsi, qword [rsp + 0x98]
mov qword [rsi + rdx*8], rax
mov rax, rsi
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.004d1340
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
jmp 0x4d52cf
xor ebx, ebx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
dec rdx
test rdx, rdx
jle 0x4d52de
mov rsi, qword [rax + rdx*8 - 8]
test rsi, rsi
je 0x4d52cc
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
ja 0x4d52fb
mov rbx, rdx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, rcx
mov rcx, rdx
mov rdx, rax
call fcn.00463360
mov rax, rdx
call fcn.004632e0
mov rax, r9
mov rcx, r11
call fcn.004633a0
mov rdx, rcx
mov rcx, r11
call fcn.00463360
mov rdx, rcx
mov rcx, rbx
call fcn.00463360
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.00460be0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
nop
jmp fcn.004d4fc0