Function at 0x4be320
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4be788
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
test rcx, rcx
je 0x4be354
movzx edx, byte [rcx + rbx - 1]
cmp dl, 0x2e
sete dl
jmp 0x4be360
xor edx, edx
nop word [rax + rax]
nop
cmp rcx, 0xfe
jg 0x4be594
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rcx
nop dword [rax]
je 0x4be51f
test dl, dl
jne 0x4be524
mov qword [rsp + 0xa8], rax
mov qword [rsp], rbx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x2e
call fcn.00403220
xorps xmm15, xmm15
mov r14, qword [0x006620f0]
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, [0x005315a0]
mov esi, 1
xor eax, eax
mov rcx, qword [rsp + 0xb8]
call fcn.00452280
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, [0x004e1660]
xor ebx, ebx
mov rcx, rsi
call fcn.0044e4e0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
nop dword [rax + rax]
cmp rcx, rdx
jle 0x4be449
xor ebx, ebx
jmp 0x4be480
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x60]
nop
call fcn.004be2a0
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 0x4be4f6
mov r8, qword [rsp + 0x58]
cmp r8, 0xffffffffffffffff
je 0x4be496
mov rbx, qword [rsp + 0x48]
jmp 0x4be4b9
mov ebx, 1
xor ecx, ecx
mov rdi, rbx
lea rsi, [0x004e1660]
call fcn.0044e5c0
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 [0x00662180], 0
jne 0x4be4d5
mov r9, qword [rsp + 0x90]
jmp 0x4be4ec
call fcn.00469a40
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 0x4be50a
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 0x4be5d5
nop
test dl, dl
je 0x4be594
mov rax, rbx
mov rbx, rcx
call fcn.004be2a0
test al, al
jne 0x4be584
lea rax, [0x004e37a0]
call fcn.0040e1e0
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 8], rcx
cmp dword [0x00662180], 0
jne 0x4be560
mov rdx, qword [rsp + 0xb0]
jmp 0x4be570
call fcn.00469a20
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 0x4be6d9
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.00452280
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
nop dword [rax + rax]
call fcn.004be2a0
test al, al
je 0x4be63d
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x4be5a4
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xfe
jg 0x4be6c5
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x4be664
mov rax, qword [rsp + 0x78]
jmp 0x4be67f
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x004e1660]
call fcn.0044e5c0
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x00662180], 0
jne 0x4be6a0
mov rdx, qword [rsp + 0x80]
jmp 0x4be6b8
call fcn.00469a40
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 0x4be5a4
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
jmp 0x4be5a4
cmp rcx, rdx
jg 0x4be6e2
xor ecx, ecx
jmp 0x4be70e
mov rax, r9
mov rbx, r8
call fcn.004be2a0
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 0x4be776
lea rdx, [rsi + 1]
cmp rbx, rdx
jae 0x4be745
mov rcx, rbx
mov edi, 1
lea rsi, [0x004e1660]
mov rbx, rdx
call fcn.0044e5c0
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 [0x00662180], 0
je 0x4be770
nop dword [rax + rax]
call fcn.00469a40
mov qword [r11], r9
mov rdi, qword [rax + rsi]
mov qword [r11 + 8], rdi
mov qword [rax + rsi], r9
jmp 0x4be779
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.00467b00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004be320