Function at 0x4eba60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ebcdf
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rcx
mov rsi, qword [rax + 0x48]
test rsi, rsi
jle 0x4ebba1
cmp rsi, 0x10
ja 0x4ebcd1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rdx, [rsi - 0x10]
mov r8, rdx
neg rdx
cmp rcx, rdx
cmovl rdx, rcx
mov qword [rsp + 0x28], rdx
sar r8, 0x3f
and rsi, r8
add rsi, 0x38
add rsi, rax
cmp rbx, rsi
je 0x4ebaf5
mov rax, rsi
mov rcx, rdx
call fcn.00464a80
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rax + 0x48]
add rsi, rdx
nop dword [rax]
cmp rsi, 0x10
jl 0x4ebb8b
cmp rcx, rdx
jb 0x4ebcc9
mov qword [rax + 0x48], 0
mov qword [rsp], rax
lea rcx, [rax + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x10
mov qword [rsp + 0x18], 0x10
call fcn.004ebea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x28]
sub rdi, rax
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
sub rcx, rax
mov rbx, rdi
neg rdi
sar rdi, 0x3f
and rax, rdi
mov rsi, qword [rsp + 0x60]
add rax, rsi
mov rdi, rbx
mov rbx, rax
mov rax, qword [rsp + 0x58]
jmp 0x4ebba4
mov qword [rax + 0x48], rsi
mov rax, rcx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
nop
ret
mov rdx, rcx
mov rsi, rcx
and ecx, 0xf
mov r8, rsi
sub rsi, rcx
test rsi, rsi
jle 0x4ebc45
nop dword [rax]
cmp rdi, rsi
jb 0x4ebcbe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rsi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
call fcn.004ebea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x4ebcb9
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
sub rcx, rsi
sar rax, 0x3f
and rax, rsi
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov r8, rcx
test r8, r8
je 0x4ebc9b
mov rcx, qword [rax + 0x48]
cmp rcx, 0x10
ja 0x4ebcac
lea rsi, [rcx - 0x10]
mov rdi, rsi
neg rsi
cmp r8, rsi
cmovl rsi, r8
sar rdi, 0x3f
and rcx, rdi
lea rdi, [rcx + 0x38]
add rdi, rax
cmp rbx, rdi
je 0x4ebc97
mov qword [rsp + 0x38], rsi
mov rax, rdi
mov rcx, rsi
call fcn.00464a80
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
add qword [rax + 0x48], rsi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rcx
mov ecx, 0x10
call fcn.004641a0
call fcn.004641a0
mov rcx, rsi
mov rdx, rdi
call fcn.00464160
mov rax, rdx
call fcn.004641a0
mov rax, rsi
mov ecx, 0x10
call fcn.004641a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00461a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004eba60