Function at 0x4be420
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x60]
cmp r12, qword [r14 + 0x10]
jbe 0x4be86e
sub rsp, 0xe0
mov qword [rsp + 0xd8], rbp
lea rbp, [rsp + 0xd8]
mov r13, 0
mov qword [rsp + 0xd0], r13
mov byte [rsp + 0x4f], 0
mov qword [rsp + 0xb0], 0
lea rax, [0x00501940]
call fcn.0040ce40
mov qword [rax + 0x30], 1
movabs rcx, 0x12a05f200
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], 2
mov qword [rsp + 0xb0], rax
movups xmmword [rsp + 0xc0], xmm15
lea rcx, [0x004be880]
mov qword [rsp + 0xc0], rcx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xc8], rcx
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xd0], rcx
mov byte [rsp + 0x4f], 1
call fcn.004c1020
test rdi, rdi
jne 0x4be4f0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x58], rbx
xor ecx, ecx
jmp 0x4be520
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
inc rcx
nop dword [rax]
cmp rbx, rcx
jle 0x4be534
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + rcx*8]
mov rsi, qword [rsi + 0x30]
jmp 0x4be580
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
mov rdi, qword [rsp + 0x98]
mov rdi, qword [rdi + 8]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
mov rsi, rdi
nop
test rsi, rsi
je 0x4be51a
mov qword [rsp + 0x98], rsi
mov rax, qword [rsi + 0x10]
call fcn.00482660
test rcx, rcx
je 0x4be5a4
lea rsi, [0x00534638]
jmp 0x4be55e
test rax, rax
je 0x4be845
mov esi, dword [rax + 0x10]
cmp esi, 0x7cb7d5c
jne 0x4be680
lea rsi, [0x00534618]
cmp rax, rsi
jne 0x4be66d
movzx edx, byte [rbx + 8]
movzx edi, byte [rbx + 9]
movzx r8d, byte [rbx + 0xa]
movzx r9d, byte [rbx + 0xb]
movups xmmword [rsp + 0x80], xmm15
mov r10, qword [0x005f68c8]
cmp r10, 0x10
mov ecx, 0x10
cmovl rcx, r10
mov rbx, qword [0x005f68c0]
lea rax, [rsp + 0x80]
cmp rbx, rax
je 0x4be644
mov byte [rsp + 0x4c], dl
mov byte [rsp + 0x4d], dil
mov byte [rsp + 0x4b], r8b
mov byte [rsp + 0x4e], r9b
call fcn.00463920
movzx edx, byte [rsp + 0x4c]
lea rsi, [0x00534618]
movzx edi, byte [rsp + 0x4d]
movzx r8d, byte [rsp + 0x4b]
movzx r9d, byte [rsp + 0x4e]
mov byte [rsp + 0x8c], dl
mov byte [rsp + 0x8d], dil
mov byte [rsp + 0x8e], r8b
mov byte [rsp + 0x8f], r9b
lea rax, [rsp + 0x80]
jmp 0x4be6d2
lea rsi, [0x00534638]
jmp 0x4be55e
cmp esi, 0xf9e15638
jne 0x4be839
lea rsi, [0x00534638]
cmp rax, rsi
jne 0x4be55e
movups xmmword [rsp + 0x70], xmm15
test byte [rbx], al
lea rdi, [rbx + 0xc]
lea r8, [rsp + 0x70]
cmp r8, rdi
je 0x4be6bb
movups xmm0, xmmword [rbx + 0xc]
movups xmmword [rsp + 0x70], xmm0
cmp byte [rsp + 0x70], 0xfe
jne 0x4be6cd
cmp byte [rsp + 0x71], 0xc0
je 0x4be55e
lea rax, [rsp + 0x70]
mov ebx, 0x10
mov rcx, rbx
call fcn.004c1b00
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402c20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4be754
xor eax, eax
lea rbx, [0x005070ef]
mov ecx, 1
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00507162]
mov r9d, 2
lea r10, [0x00507112]
mov r11, r9
call fcn.0044e1a0
jmp 0x4be785
xor eax, eax
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x005070e4]
mov esi, 1
lea r8, [0x00507112]
mov r9d, 2
nop dword [rax]
call fcn.0044e0c0
mov r8, qword [rsp + 0xb0]
mov rsi, qword [r8 + 8]
lea r9, [rsi + 1]
mov r10, qword [r8]
mov rdi, qword [r8 + 0x10]
nop dword [rax]
cmp rdi, r9
jae 0x4be804
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb8], r8
lea rax, [0x004e84a0]
mov rbx, r10
mov rcx, rsi
mov rsi, r9
call fcn.0044a500
mov rdi, qword [rsp + 0xb8]
mov qword [rdi + 0x10], rcx
cmp dword [0x006526b0], 0
jne 0x4be7e9
mov qword [rdi], rax
jmp 0x4be7ee
call fcn.00462ae0
mov r8, rdi
mov r10, rax
mov rsi, rbx
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x50]
lea rcx, [rsi + 1]
mov qword [r8 + 8], rcx
shl rsi, 4
mov qword [r10 + rsi + 8], rbx
lea rdi, [r10 + rsi]
cmp dword [0x006526b0], 0
jne 0x4be828
mov qword [r10 + rsi], rax
jmp 0x4be82d
call fcn.00462ae0
lea rsi, [0x00534638]
jmp 0x4be55e
lea rsi, [0x00534638]
jmp 0x4be55e
lea rsi, [0x00534638]
jmp 0x4be55e
call fcn.004608a0
jmp fcn.004be420