Function at 0x4d7520
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d77a0
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + 0x48]
test rsi, rsi
jle 0x4d7661
cmp rsi, 0x10
ja 0x4d7792
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rdx, [rsi - 0x10]
mov r8, rdx
neg rdx
cmp rcx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x28], rdx
sar r8, 0x3f
and r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x4d75b6
mov rax, rsi
mov rcx, rdx
call fcn.00460f40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rax + 0x48]
add rsi, rdx
nop dword [rax]
cmp rsi, 0x10
jl 0x4d764b
cmp rcx, rdx
jb 0x4d778a
mov qword [rax + 0x48], 0
mov qword [rsp], rax
lea rcx, [rax + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x10
mov qword [rsp + 0x18], 0x10
call fcn.004d7920
xorps xmm15, xmm15
mov r14, qword [0x00640368]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x28]
sub rdi, rax
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
sub rcx, rax
mov rbx, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
mov rsi, qword [rsp + 0x60]
add rax, rsi
mov rdi, rbx
mov rbx, rax
mov rax, qword [rsp + 0x58]
jmp 0x4d7664
mov qword [rax + 0x48], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
nop
ret
mov rdx, rcx
mov rsi, rcx
and ecx, 0xf
mov r8, rsi
sub rsi, rcx
test rsi, rsi
jle 0x4d7705
nop dword [rax]
cmp rdi, rsi
jb 0x4d777f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
call fcn.004d7920
xorps xmm15, xmm15
mov r14, qword [0x00640368]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x4d777a
sub rcx, rax
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
sar rax, 0x3f
and rax, rsi
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, rcx
test r8, r8
je 0x4d775c
mov rcx, qword [rax + 0x48]
cmp rcx, 0x10
ja 0x4d776d
lea rsi, [rcx - 0x10]
mov rdi, rsi
neg rsi
cmp r8, rsi
cmovl rsi, r8
sar rdi, 0x3f
and rdi, rcx
lea rdi, [rdi + rax]
lea rdi, [rdi + 0x38]
cmp rbx, rdi
je 0x4d7758
mov qword [rsp + 0x38], rsi
mov rax, rdi
mov rcx, rsi
call fcn.00460f40
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
add qword [rax + 0x48], rsi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rcx
mov ecx, 0x10
call fcn.00460680
call fcn.00460680
mov rcx, rsi
mov rdx, rdi
call fcn.00460640
mov rax, rdx
call fcn.00460680
mov rax, rsi
mov ecx, 0x10
call fcn.00460680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045df60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004d7520