Function at 0x4a1e40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a20c0
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 0x4a1f81
cmp rsi, 0x10
ja 0x4a20b2
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 r8, rsi
lea rsi, [r8 + rax]
lea rsi, [rsi + 0x38]
cmp rbx, rsi
je 0x4a1ed6
mov rax, rsi
mov rcx, rdx
call fcn.0045fb40
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 0x4a1f6b
cmp rcx, rdx
jb 0x4a20aa
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.004a2240
xorps xmm15, xmm15
mov r14, qword [0x00e5f518]
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 0x4a1f84
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 0x4a2025
nop dword [rax]
cmp rdi, rsi
jb 0x4a209f
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.004a2240
xorps xmm15, xmm15
mov r14, qword [0x00e5f518]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x4a209a
sub rcx, rax
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
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 0x4a207c
mov rcx, qword [rax + 0x48]
cmp rcx, 0x10
ja 0x4a208d
lea rsi, [rcx - 0x10]
mov rdi, rsi
neg rsi
cmp r8, rsi
cmovl rsi, r8
sar rdi, 0x3f
and rdi, rcx
lea rdi, [rdi + rax]
lea rdi, [rdi + 0x38]
cmp rbx, rdi
je 0x4a2078
mov qword [rsp + 0x38], rsi
mov rax, rdi
mov rcx, rsi
call fcn.0045fb40
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.0045f280
call fcn.0045f280
mov rcx, rsi
mov rdx, rdi
call fcn.0045f240
mov rax, rdx
call fcn.0045f280
mov rax, rsi
mov ecx, 0x10
call fcn.0045f280
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045cb60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004a1e40