Function at 0x4d6520
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4d6988
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
test rcx, rcx
je 0x4d6554
movzx edx, byte [rcx + rbx - 1]
cmp dl, 0x2e
sete dl
jmp 0x4d6560
xor edx, edx
nop word [rax + rax]
nop
cmp rcx, 0xfe
jg 0x4d6794
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rcx
nop dword [rax]
je 0x4d671f
test dl, dl
jne 0x4d6724
mov qword [rsp + 0xa8], rax
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x2e
call fcn.004031a0
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x30]
mov qword [rsp + 0x68], rdx
mov rbx, qword [rsp + 0xb0]
lea rdi, [0x00573a38]
mov esi, 1
xor eax, eax
mov rcx, qword [rsp + 0xb8]
call fcn.004501a0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x58], rdx
lea rsi, [rdx + 1]
mov qword [rsp + 0x48], rsi
lea rax, [0x005130c0]
xor ebx, ebx
mov rcx, rsi
call fcn.0046a600
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rcx, rdx
jle 0x4d6649
xor ebx, ebx
jmp 0x4d6680
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
nop
call fcn.004d64a0
xor eax, 1
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rsp + 0x88]
nop dword [rax]
test bl, bl
je 0x4d66f6
mov r8, qword [rsp + 0x58]
cmp r8, 0xffffffffffffffff
je 0x4d6696
mov rbx, qword [rsp + 0x48]
jmp 0x4d66b9
mov ebx, 1
xor ecx, ecx
mov rdi, rbx
lea rsi, [0x005130c0]
call fcn.0046a6e0
mov rdx, qword [rsp + 0x70]
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov qword [rax + 8], r8
cmp dword [0x006857f0], 0
jne 0x4d66d5
mov r9, qword [rsp + 0x90]
jmp 0x4d66ec
call fcn.00470a80
mov r9, qword [rsp + 0x90]
mov qword [r11], r9
mov r10, qword [rax]
mov qword [r11 + 8], r10
mov qword [rax], r9
mov esi, 1
jmp 0x4d670a
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x48]
xor esi, esi
mov r10, qword [rsp + 0xa8]
mov r11, qword [r10 + 0x18]
mov r10, qword [r10 + 0x20]
jmp 0x4d67d5
nop
test dl, dl
je 0x4d6794
mov rax, rbx
mov rbx, rcx
call fcn.004d64a0
test al, al
jne 0x4d6784
lea rax, [0x00515aa0]
call fcn.0040d460
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
cmp dword [0x006857f0], 0
jne 0x4d6760
mov rdx, qword [rsp + 0xb0]
jmp 0x4d6770
call fcn.00470a60
mov rdx, qword [rsp + 0xb0]
mov qword [r11], rdx
mov qword [rax], rdx
mov ebx, 1
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
add rsp, 0x98
pop rbp
ret
mov r11, qword [rsp + 0x88]
add r11, 0x10
mov r10, qword [rsp + 0x58]
dec r10
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rsi, rbx
mov rbx, rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rbx
test r10, r10
jle 0x4d68d9
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x88], r11
mov rdi, qword [r11]
mov rsi, qword [r11 + 8]
xor eax, eax
mov rbx, r9
mov rcx, r8
call fcn.004501a0
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
nop dword [rax + rax]
call fcn.004d64a0
test al, al
je 0x4d683d
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x4d67a4
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xfe
jg 0x4d68c5
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x4d6864
mov rax, qword [rsp + 0x78]
jmp 0x4d687f
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x005130c0]
call fcn.0046a6e0
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x006857f0], 0
jne 0x4d68a0
mov rdx, qword [rsp + 0x80]
jmp 0x4d68b8
call fcn.00470a80
mov rdx, qword [rsp + 0x80]
mov qword [r11], rdx
mov r9, qword [rax + r8]
mov qword [r11 + 8], r9
mov qword [rax + r8], rdx
nop dword [rax]
jmp 0x4d67a4
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x4d67a4
cmp rcx, rdx
jg 0x4d68e2
xor ecx, ecx
jmp 0x4d690e
mov rax, r9
mov rbx, r8
call fcn.004d64a0
xor eax, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
je 0x4d6976
lea rdx, [rsi + 1]
cmp rbx, rdx
jae 0x4d6945
mov rcx, rbx
mov edi, 1
lea rsi, [0x005130c0]
mov rbx, rdx
call fcn.0046a6e0
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x90]
mov rdx, rbx
mov rbx, rcx
lea rsi, [rdx - 1]
shl rsi, 4
mov qword [rax + rsi + 8], r8
cmp dword [0x006857f0], 0
je 0x4d6970
nop dword [rax + rax]
call fcn.00470a80
mov qword [r11], r9
mov rdi, qword [rax + rsi]
mov qword [r11 + 8], rdi
mov qword [rax + rsi], r9
jmp 0x4d6979
mov rdx, rsi
mov rcx, rbx
mov rbx, rdx
add rsp, 0x98
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004d6520