Function at 0x4da440
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4da7e6
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 0x4da7d0
nop dword [rax + rax]
test rsi, rsi
je 0x4da769
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0x88], rdi
nop dword [rax]
test r10, r10
je 0x4da6ad
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd8], r10
cmp rsi, rcx
jg 0x4da4c6
mov rdx, rsi
jmp 0x4da57d
mov qword [rsp + 0xd0], r9
mov qword [rsp + 0xe0], r11
cmp rsi, 1
jne 0x4da52c
lea rax, [0x0054c940]
mov ebx, 1
mov rcx, rbx
call fcn.00449480
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 0x4da57d
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x0054c940]
mov rbx, rsi
nop
call fcn.00449480
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 0x4da7c5
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.004e60a0
xorps xmm15, xmm15
mov r14, qword [0x00818868]
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 0x4da694
mov rbx, qword [rsp + 0x60]
nop
cmp rcx, rbx
ja 0x4da7ba
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.004e61e0
xorps xmm15, xmm15
mov r14, qword [0x00818868]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x4da7a7
nop
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
jmp 0x4da777
nop
cmp rsi, rcx
jg 0x4da6b8
mov rdx, rsi
jmp 0x4da71e
cmp rsi, 1
jne 0x4da6ee
lea rax, [0x0054c940]
mov ebx, 1
mov rcx, rbx
call fcn.00449480
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x88]
mov esi, 1
mov ecx, 1
jmp 0x4da71e
lea rcx, [rsi + 4]
mov qword [rsp + 0x58], rcx
lea rax, [0x0054c940]
mov rbx, rsi
call fcn.00449480
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 0x4da760
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.004647e0
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 0x4da786
mov rdi, qword [rax + rsi*8 - 8]
test rdi, rdi
je 0x4da774
mov rdx, qword [rsp + 0x50]
cmp rsi, rdx
ja 0x4da79f
mov rbx, rsi
mov rcx, rdx
add rsp, 0x90
pop rbp
ret
mov rcx, rsi
call fcn.00463ec0
lea rax, [0x0054bd40]
lea rbx, [0x0068eb50]
call fcn.00435e80
mov rax, rcx
mov rcx, rbx
call fcn.00463f00
mov rdx, rcx
mov rcx, r10
call fcn.00463ec0
lea rax, [0x0054bd40]
lea rbx, [0x0068eb50]
nop
call fcn.00435e80
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.00461bc0
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.004da440