Function at 0x4da280
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x4da606
push rbp
mov rbp, rsp
sub rsp, 0x88
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x98], rax
shl rsi, 1
mov rax, rsi
call fcn.004db140
mov qword [rsp + 0x78], rax
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax]
mov qword [rsp + 0x80], rdx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x50], rbx
mov rax, rdx
call fcn.004d7b60
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jbe 0x4da5f7
mov rbx, qword [rsp + 0xb0]
mov rax, qword [rbx]
mul rax
mov rsi, qword [rsp + 0xa0]
cmp rsi, 1
jbe 0x4da5ea
mov rdi, qword [rsp + 0x98]
mov qword [rdi + 8], rdx
mov qword [rdi], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x58]
mov r9, qword [rsp + 0xc0]
mov eax, 1
jmp 0x4da3a9
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
mov qword [r8 + r11], r10
mov rax, qword [rsp + 0x68]
inc rax
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x58]
mov r9, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
mov r10, qword [rsp + 0xb8]
mov rcx, r10
cmp rcx, rax
jle 0x4da48e
mov r10, qword [rbx + rax*8]
lea r11, [rax + rax]
lea r11, [r11 + 1]
mov r12, rax
mov rax, r10
mov r13, rdx
mul rax
cmp rsi, r11
jbe 0x4da5df
mov qword [rdi + r11*8], rdx
mov r11, r12
shl r12, 1
nop dword [rax]
cmp rsi, r12
jbe 0x4da5d4
mov r15, r11
shl r11, 4
mov qword [rdi + r11], rax
cmp r13, r12
jb 0x4da5c9
nop dword [rax]
cmp r15, r12
ja 0x4da5be
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r12
mov rax, r15
shl r15, 3
sub r13, rax
sub r12, rax
mov rsi, r13
neg r13
sar r13, 0x3f
and r15, r13
lea rdi, [r15 + r8]
mov qword [rsp], rdi
mov qword [rsp + 8], r12
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x30], r10
call fcn.004e2040
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
nop dword [rax]
cmp rcx, rax
ja 0x4da35b
jmp 0x4da5b9
lea rbx, [rcx + rcx]
lea rbx, [rbx - 1]
cmp rdx, rbx
jb 0x4da5b1
nop
cmp rbx, 1
jb 0x4da5a5
mov qword [rsp + 0x70], rbx
lea rax, [rcx + rcx]
lea rax, [rax - 2]
lea rcx, [rdx - 1]
mov rbx, rcx
neg rcx
sar rcx, 0x3f
and ecx, 8
add rcx, r8
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 1
call fcn.004e1ea0
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
cmp rcx, rax
jbe 0x4da5a0
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x80]
mov qword [rbx + rax*8], rdx
mov rax, qword [rsp + 0x98]
mov qword [rsp], rax
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 8], rdx
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
call fcn.004e1c20
xorps xmm15, xmm15
mov r14, qword [0x0077cf80]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x78]
call fcn.004db240
add rsp, 0x88
pop rbp
ret
call fcn.00472fc0
mov eax, 1
xor ecx, ecx
call fcn.00473080
mov rcx, rbx
call fcn.00473040
call fcn.00472fc0
mov rax, r15
mov rcx, r12
call fcn.00473080
mov rcx, r12
mov rdx, r13
call fcn.00473040
mov rax, r12
mov rcx, rsi
call fcn.00472fc0
mov rax, r11
mov rcx, rsi
call fcn.00472fc0
mov eax, 1
mov rcx, rsi
call fcn.00472fc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00472fc0
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
call fcn.00470ce0
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]
jmp fcn.004da280