Function at 0x4d6880
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xf0]
cmp r12, qword [r14 + 0x10]
jbe 0x4d6db2
push rbp
mov rbp, rsp
sub rsp, 0x168
mov byte [rsp + 0x178], al
mov byte [rsp + 0x179], bl
mov qword [rsp + 0x188], rdi
mov qword [rsp + 0x180], rcx
lea rax, [0x004e5b20]
xor ebx, ebx
mov rcx, rdi
call fcn.0044a8e0
mov qword [rsp + 0x98], rax
movups xmmword [rsp + 0xa0], xmm15
movups xmmword [rsp + 0xb0], xmm15
movups xmmword [rsp + 0xc0], xmm15
mov rbx, qword [rsp + 0x188]
cmp rbx, 8
jg 0x4d6943
movups xmmword [rsp + 0xd0], xmm15
lea rdi, [rsp + 0xd8]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00464af9
mov rbp, qword [rbp]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0xb0], rdx
lea rax, [0x004eb9c0]
lea rcx, [rsp + 0xa0]
call fcn.0040dda0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x98]
mov rbx, rcx
xor esi, esi
xor edi, edi
xor r8d, r8d
jmp 0x4d6991
mov rdi, rdx
mov r8, rsi
mov rdx, rax
mov rsi, rbx
mov rax, qword [rsp + 0x70]
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x4d6ce5
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x60], rdi
lea r9, [rcx - 1]
mov qword [rsp + 0x68], r9
mov r10, r9
shl r9, 4
mov r11, qword [rsp + 0x180]
mov r12, qword [r11 + r9 + 8]
mov qword [rsp + 0x50], r12
mov r9, qword [r11 + r9]
mov qword [rsp + 0x80], r9
movzx r13d, byte [rsp + 0x179]
test r13b, r13b
je 0x4d69f6
xor ecx, ecx
jmp 0x4d6a6a
mov qword [rsp], r9
mov qword [rsp + 8], r12
mov byte [rsp + 0x10], 0
call fcn.00403b80
xorps xmm15, xmm15
mov r14, qword [0x00643b28]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
setne al
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x180]
mov r12, qword [rsp + 0x50]
movzx r13d, byte [rsp + 0x179]
mov ecx, eax
mov rax, qword [rsp + 0x70]
test cl, cl
je 0x4d6aab
nop
lea rax, [0x004efce0]
call fcn.0040d2a0
mov qword [rax + 8], 0x27
lea rcx, [0x00511096]
mov qword [rax], rcx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea rdx, [0x005336d8]
mov rsi, rax
mov rax, qword [rsp + 0x78]
jmp 0x4d6978
mov rax, r9
mov rbx, r12
lea rcx, [0x00506ebb]
mov edi, 1
nop dword [rax]
call fcn.004a9ea0
test rax, rax
jne 0x4d6b0d
mov rbx, qword [rsp + 0x50]
cmp rbx, 1
jb 0x4d6da5
lea rdx, [rbx - 1]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x80]
lea rax, [r8 + rdx]
lea rcx, [0x00506ebb]
mov edi, 1
mov rbx, rsi
call fcn.004a9ea0
inc rax
test rax, rax
jge 0x4d6bb8
mov rdx, qword [rsp + 0x50]
nop dword [rax + rax]
test rdx, rdx
je 0x4d6b97
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x4d6b3e
mov rax, qword [rsp + 0x78]
jmp 0x4d6b59
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x004e5b20]
call fcn.0044a9c0
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x00643b70], 0
jne 0x4d6b79
mov rdx, qword [rsp + 0x80]
jmp 0x4d6b91
call fcn.004644c0
mov rdx, qword [rsp + 0x80]
mov qword [r11], rdx
mov r9, qword [r8 + rax]
mov qword [r11 + 8], r9
mov qword [rax + r8], rdx
jmp 0x4d6ba6
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
jmp 0x4d6978
mov rdx, qword [rsp + 0x50]
nop dword [rax]
cmp rax, rdx
ja 0x4d6d9a
movzx esi, byte [rsp + 0x178]
test sil, sil
jne 0x4d6be2
mov rcx, qword [rsp + 0x80]
nop
jmp 0x4d6bf8
mov rbx, rax
mov rax, qword [rsp + 0x80]
call fcn.004a9100
mov rcx, rax
mov rax, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], rcx
mov rbx, qword [rsp + 0x70]
mov rdi, rax
lea rax, [0x004eb9c0]
call fcn.00411b40
cmp byte [rax], 0
je 0x4d6c3f
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
jmp 0x4d6978
lea rax, [0x004eb9c0]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x58]
call fcn.004122e0
mov byte [rax], 1
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x4d6c79
mov rax, qword [rsp + 0x78]
jmp 0x4d6c8f
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x004e5b20]
call fcn.0044a9c0
lea rdx, [rbx - 1]
shl rdx, 4
mov r8, qword [rsp + 0x50]
mov qword [rax + rdx + 8], r8
cmp dword [0x00643b70], 0
jne 0x4d6cb4
mov r8, qword [rsp + 0x80]
jmp 0x4d6ccc
call fcn.004644c0
mov r8, qword [rsp + 0x80]
mov qword [r11], r8
mov r9, qword [rdx + rax]
mov qword [r11 + 8], r9
mov qword [rax + rdx], r8
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
nop dword [rax]
jmp 0x4d6978
xor eax, eax
jmp 0x4d6cf4
mov qword [rdx + r9], r12
lea rax, [r10 + 1]
mov rsi, rcx
mov rcx, rsi
shr rsi, 1
cmp rax, rsi
jge 0x4d6d7a
mov r9, rcx
sub r9, rax
dec r9
mov r10, rax
shl rax, 4
mov r11, qword [rax + rdx + 8]
mov r12, qword [rax + rdx]
cmp rcx, r9
jbe 0x4d6d92
shl r9, 4
mov r13, qword [rdx + r9 + 8]
mov r15, qword [rdx + r9]
mov qword [rdx + rax + 8], r13
cmp dword [0x00643b70], 0
je 0x4d6d53
mov rsi, r11
nop dword [rax + rax]
call fcn.004644c0
mov qword [r11], r15
mov r13, qword [rax + rdx]
mov qword [r11 + 8], r13
mov r11, rsi
mov qword [rdx + rax], r15
mov qword [rdx + r9 + 8], r11
cmp dword [0x00643b70], 0
je 0x4d6ce9
call fcn.004644c0
mov qword [r11], r12
mov r13, qword [rdx + r9]
mov qword [r11 + 8], r13
jmp 0x4d6ce9
mov rax, rdx
mov rsi, r8
mov rdx, rbx
mov rbx, rcx
mov rcx, rdx
add rsp, 0x168
pop rbp
ret
mov rax, r9
call fcn.00464820
mov rcx, rax
nop dword [rax]
call fcn.00464860
mov eax, 1
xor ecx, ecx
call fcn.004648e0
nop
mov byte [rsp + 8], al
mov byte [rsp + 9], bl
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
call fcn.004625a0
movzx eax, byte [rsp + 8]
movzx ebx, byte [rsp + 9]
mov rcx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
jmp fcn.004d6880