Function at 0x4d0680
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4d09ef
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xf8], r9
mov rdx, qword [rsp + 0xc0]
nop word [rax + rax]
cmp rsi, rdx
jne 0x4d09db
cmp r10, rdx
jne 0x4d09db
mov r10, qword [rsp + 0xa8]
nop word [rax + rax]
cmp r10, rdx
jne 0x4d09db
mov qword [rsp + 0xf8], r9
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rsi
mov rdi, rdx
shl rdi, 1
call fcn.004cfb80
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rbx
call fcn.004cfb00
xor eax, eax
xor ecx, ecx
jmp 0x4d073b
lea rdx, [rdi + 1]
mov rcx, rax
mov rax, rdx
mov rbx, qword [rsp + 0xc0]
cmp rbx, rax
jle 0x4d08c5
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rcx
mov rcx, rax
shl rax, 3
mov rdx, qword [rsp + 0xf8]
mov rsi, qword [rdx + rcx*8]
mov rdi, qword [rsp + 0x78]
sub rdi, rcx
mov qword [rsp + 0x68], rdi
mov r9, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
mov rdi, qword [rsp + 0x88]
add rax, rdi
mov qword [rsp + 0x80], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r9
mov r10, qword [rsp + 0xe0]
mov qword [rsp + 0x18], r10
mov r11, qword [rsp + 0xe8]
mov qword [rsp + 0x20], r11
mov r12, qword [rsp + 0xf0]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], rsi
call fcn.004d9200
xorps xmm15, xmm15
mov r14, qword [0x007c9d40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx + rcx*8]
mov rsi, qword [rsp + 0x80]
mov qword [rsp], rsi
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x10], rdi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x18], rdi
mov r8, qword [rsp + 0xa8]
mov qword [rsp + 0x20], r8
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x28], r9
mov r10, qword [rsp + 0xb8]
imul rbx, r10
mov qword [rsp + 0x30], rbx
nop dword [rax]
call fcn.004d9200
xorps xmm15, xmm15
mov r14, qword [0x007c9d40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
lea rbx, [rdx + rax]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x60]
lea r8, [rdi + rsi]
mov r9, qword [rsp + 0x88]
mov qword [r9 + r8*8], rbx
cmp rcx, rdx
ja 0x4d08b4
cmp rax, rbx
jbe 0x4d08be
mov eax, 1
jmp 0x4d0731
xor eax, eax
jmp 0x4d0731
test rcx, rcx
jne 0x4d0933
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
sub rdx, rcx
mov rsi, rbx
shl rsi, 3
sar rdx, 0x3f
and rdx, rsi
mov rsi, qword [rsp + 0x70]
sub rsi, rbx
mov rax, qword [rsp + 0x88]
lea rdi, [rdx + rax]
cmp rbx, rsi
mov r8, rbx
cmovg r8, rsi
test rdx, rdx
je 0x4d09d2
shl r8, 3
mov rbx, rdi
mov rcx, r8
call fcn.0046fde0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc0]
jmp 0x4d09d2
mov rax, qword [rsp + 0x88]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x10], rcx
sub rcx, rbx
mov rsi, rcx
neg rcx
mov rdi, rbx
shl rbx, 3
sar rcx, 0x3f
and rcx, rbx
add rcx, rax
mov qword [rsp + 0x18], rcx
mov rcx, qword [rsp + 0x70]
sub rcx, rdi
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
call fcn.004d8e80
xorps xmm15, xmm15
mov r14, qword [0x007c9d40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rbp
ret
lea rax, [0x00563c20]
lea rbx, [0x005d3480]
call fcn.0043d580
nop
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
nop dword [rax]
call fcn.0046d2c0
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp fcn.004d0680