Function at 0x4b9fa0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4ba346
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xd0], r9
cmp r10, rsi
jg 0x4ba330
nop dword [rax + rax]
test rsi, rsi
je 0x4ba2c9
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0x88], rdi
nop dword [rax]
test r10, r10
je 0x4ba20d
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd8], r10
cmp rsi, rcx
jg 0x4ba026
mov rdx, rsi
jmp 0x4ba0dd
mov qword [rsp + 0xd0], r9
mov qword [rsp + 0xe0], r11
cmp rsi, 1
jne 0x4ba08c
lea rax, [0x00529820]
mov ebx, 1
mov rcx, rbx
call fcn.0044ab20
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov r11, qword [rsp + 0xe0]
mov ecx, 1
mov esi, 1
jmp 0x4ba0dd
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x00529820]
mov rbx, rsi
nop
call fcn.0044ab20
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov r11, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x50]
mov rsi, rdx
nop dword [rax]
cmp r10, rcx
ja 0x4ba325
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x78], rax
mov qword [rsp], rax
mov qword [rsp + 8], r10
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
call fcn.004c5100
xorps xmm15, xmm15
mov r14, qword [0x007281b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xc0]
cmp rcx, rdx
jge 0x4ba1f4
mov rbx, qword [rsp + 0x60]
nop
cmp rcx, rbx
ja 0x4ba31a
mov rsi, qword [rsp + 0x50]
sub rsi, rcx
sub rbx, rcx
mov r9, rcx
shl rcx, 3
mov r10, rsi
neg rsi
sar rsi, 0x3f
and rsi, rcx
mov r11, qword [rsp + 0x78]
add rsi, r11
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r10
mov rbx, qword [rsp + 0xc8]
sub rbx, r9
sub rdx, r9
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rbx, rcx
mov rcx, qword [rsp + 0x88]
add rcx, rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
call fcn.004c5240
xorps xmm15, xmm15
mov r14, qword [0x007281b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x4ba307
nop
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
jmp 0x4ba2d7
nop
cmp rsi, rcx
jg 0x4ba218
mov rdx, rsi
jmp 0x4ba27e
cmp rsi, 1
jne 0x4ba24e
lea rax, [0x00529820]
mov ebx, 1
mov rcx, rbx
call fcn.0044ab20
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov esi, 1
mov ecx, 1
jmp 0x4ba27e
lea rcx, [rsi + 4]
mov qword [rsp + 0x58], rcx
lea rax, [0x00529820]
mov rbx, rsi
call fcn.0044ab20
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov rsi, rdx
mov rcx, qword [rsp + 0x58]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
cmp rdi, rax
je 0x4ba2c0
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rax
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call fcn.004655e0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x90
pop rbp
ret
xor ebx, ebx
add rsp, 0x90
pop rbp
ret
dec rsi
test rsi, rsi
jle 0x4ba2e6
mov rdi, qword [rax + rsi*8 - 8]
test rdi, rdi
je 0x4ba2d4
mov rdx, qword [rsp + 0x50]
cmp rsi, rdx
ja 0x4ba2ff
mov rbx, rsi
mov rcx, rdx
add rsp, 0x90
pop rbp
ret
mov rcx, rsi
call fcn.00464c80
lea rax, [0x00528ea0]
lea rbx, [0x005a13c0]
call fcn.00435e40
mov rax, rcx
mov rcx, rbx
call fcn.00464cc0
mov rdx, rcx
mov rcx, r10
call fcn.00464c80
lea rax, [0x00528ea0]
lea rbx, [0x005a13c0]
nop
call fcn.00435e40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
call fcn.00462940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.004b9fa0