Function at 0x4dfbe0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xb0]
cmp r12, qword [r14 + 0x10]
jbe 0x4e031e
sub rsp, 0x130
mov qword [rsp + 0x128], rbp
lea rbp, [rsp + 0x128]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x168], r9
bt r10d, 0
jb 0x4dfc37
cmp qword [0x007a3478], r10
jg 0x4dfc37
cmp r10, 2
jge 0x4dfc4c
call fcn.004df380
mov rbp, qword [rsp + 0x128]
add rsp, 0x130
ret
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x160], r8
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x178], r11
mov qword [rsp + 0x170], r10
mov qword [rsp + 0x118], r9
mov qword [rsp + 0x110], rdi
mov rsi, r10
sar rsi, 1
mov qword [rsp + 0xb0], rsi
mov r10, rsi
call fcn.004dfbe0
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xb0]
sub r8, rdx
mov qword [rsp + 0x80], r8
mov rsi, qword [rsp + 0x158]
sub rsi, rdx
mov qword [rsp + 0x78], rsi
mov r13, rdx
shl rdx, 3
mov qword [rsp + 0xd0], rdx
mov r15, r8
neg r8
sar r8, 0x3f
and r8, rdx
mov r12, qword [rsp + 0x110]
lea rdi, [r12 + r8]
mov qword [rsp + 0xf0], rdi
mov r11, qword [rsp + 0x178]
sub r11, r13
mov qword [rsp + 0x68], r11
neg r11
sar r11, 0x3f
and r11, rdx
mov rdx, qword [rsp + 0x118]
lea r9, [rdx + r11]
mov qword [rsp + 0xe0], r9
mov r10, qword [rsp + 0x170]
mov r11, r10
sub r10, r13
mov qword [rsp + 0x60], r10
mov rdx, qword [rsp + 0x148]
sub rdx, r11
mov qword [rsp + 0xc8], rdx
shl r11, 3
mov qword [rsp + 0xc0], r11
neg rdx
sar rdx, 0x3f
and rdx, r11
mov r12, qword [rsp + 0x120]
add rdx, r12
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x170]
sub r13, r12
mov rax, rdx
mov rbx, r13
mov rcx, qword [rsp + 0xc8]
mov r8, r15
mov r11, qword [rsp + 0x68]
call fcn.004dfbe0
mov rdx, qword [rsp + 0x170]
mov r12, rdx
shl rdx, 1
mov qword [rsp + 0xc8], rdx
mov r13, qword [rsp + 0x148]
sub r13, rdx
mov qword [rsp + 0x70], r13
mov rax, r13
neg r13
shl r12, 4
sar r13, 0x3f
and r12, r13
mov r13, qword [rsp + 0x120]
add r12, r13
mov qword [rsp + 0xe8], r12
mov qword [rsp], r12
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rax
mov r12, qword [rsp + 0xf0]
mov qword [rsp + 0x18], r12
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x20], r12
mov r12, qword [rsp + 0x80]
mov qword [rsp + 0x28], r12
mov r12, qword [rsp + 0x110]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rdx
mov r12, qword [rsp + 0x160]
mov qword [rsp + 0x40], r12
call fcn.004e7a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x170]
mov r12, qword [rsp + 0xb0]
lea r13, [r12 + rdx*2]
cmp qword [rsp + 0x48], 0
nop
jne 0x4dfe8c
mov eax, 1
jmp 0x4dff2a
mov qword [rsp + 0xb8], r13
mov rax, qword [rsp + 0xe8]
mov qword [rsp], rax
mov qword [rsp + 8], r12
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x110]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r12
mov rdx, qword [rsp + 0x160]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0xf0]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x40], rdx
call fcn.004e7a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x170]
mov r12, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x148]
sub rcx, r13
mov qword [rsp + 0x58], rcx
mov rsi, r13
shl r13, 3
mov rdi, rcx
neg rcx
sar rcx, 0x3f
and r13, rcx
mov rcx, qword [rsp + 0x120]
lea r8, [rcx + r13]
mov qword [rsp + 0xd8], r8
mov qword [rsp], r8
lea r9, [rdx + rdx*2]
mov qword [rsp + 0xb8], r9
sub r9, rsi
mov qword [rsp + 0x50], r9
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rdi
mov rsi, qword [rsp + 0x118]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r12
mov r11, qword [rsp + 0x178]
mov qword [rsp + 0x28], r11
mov r13, qword [rsp + 0xe0]
mov qword [rsp + 0x30], r13
mov r15, qword [rsp + 0x60]
mov qword [rsp + 0x38], r15
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rdx
call fcn.004e7a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x48], 0
jne 0x4dfffa
mov rax, qword [rsp + 0x88]
jmp 0x4e0086
mov rax, qword [rsp + 0xd8]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0x18], rbx
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rbx
mov rbx, qword [rsp + 0x118]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rbx
mov rsi, qword [rsp + 0x178]
mov qword [rsp + 0x40], rsi
call fcn.004e7a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x88]
neg rax
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x148]
mov rdx, qword [rsp + 0xb8]
sub rcx, rdx
mov qword [rsp + 0xa8], rcx
mov r13, rcx
neg rcx
mov r15, rdx
shl rdx, 3
sar rcx, 0x3f
and rdx, rcx
mov r12, qword [rsp + 0x120]
add rdx, r12
mov qword [rsp + 0x100], rdx
mov rbx, qword [rsp + 0x140]
sub rbx, r15
mov qword [rsp + 0xa0], rbx
mov rdi, qword [rsp + 0xe8]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0xd8]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x58]
mov rax, rdx
mov rcx, r13
mov rsi, qword [rsp + 0xb0]
call fcn.004dfbe0
mov r9, qword [rsp + 0x170]
mov rdx, r9
shl r9, 2
mov rcx, qword [rsp + 0x140]
mov rsi, rcx
sub rsi, r9
mov qword [rsp + 0x90], rsi
mov r12, qword [rsp + 0xc8]
cmp r12, rsi
mov r13, rsi
cmovl rsi, r12
mov r8, qword [rsp + 0x148]
mov r12, r8
sub r8, r9
mov qword [rsp + 0x98], r8
mov r15, r8
neg r8
sar r8, 0x3f
mov r9, rdx
shl rdx, 5
and r8, rdx
mov rbx, qword [rsp + 0x120]
lea rdi, [rbx + r8]
mov qword [rsp + 0xf8], rdi
test r8, r8
je 0x4e01d6
shl rsi, 3
mov rax, rdi
mov rcx, rsi
call fcn.00461f80
mov rcx, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xf8]
mov r9, qword [rsp + 0x170]
mov r12, qword [rsp + 0x148]
mov r13, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xb0]
sub r12, rdx
mov qword [rsp + 0xc8], r12
sub rcx, rdx
mov qword [rsp + 0xb8], rcx
mov rdx, r12
neg r12
sar r12, 0x3f
mov r10, qword [rsp + 0xd0]
and r12, r10
lea rax, [r12 + rbx]
mov qword [rsp + 0x108], rax
mov rbx, rcx
mov rcx, rdx
mov rsi, r13
mov r8, r15
call fcn.004df920
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x170]
sub r8, r9
mov rsi, qword [rsp + 0x90]
sub rsi, r9
mov rdx, r8
neg r8
sar r8, 0x3f
mov r10, qword [rsp + 0xc0]
and r8, r10
mov r10, qword [rsp + 0xf8]
lea rdi, [r10 + r8]
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc8]
mov r8, rdx
call fcn.004df920
mov rdx, qword [rsp + 0x88]
test rdx, rdx
jle 0x4e02d1
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov r9, qword [rsp + 0x170]
call fcn.004df920
jmp 0x4e030e
mov rax, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov r9, qword [rsp + 0x170]
call fcn.004dfa80
mov rbp, qword [rsp + 0x128]
add rsp, 0x130
ret
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.0045f280
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]
nop dword [rax]
jmp fcn.004dfbe0