Function at 0x49ac20
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xf8]
cmp r12, qword [r14 + 0x10]
jbe 0x49b174
sub rsp, 0x178
mov qword [rsp + 0x170], rbp
lea rbp, [rsp + 0x170]
mov byte [rsp + 0x180], al
mov byte [rsp + 0x181], bl
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x188], rcx
lea rax, [0x004a67c0]
xor ebx, ebx
mov rcx, rdi
call fcn.00448b40
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0xa8], xmm15
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
mov rbx, qword [rsp + 0x190]
cmp rbx, 8
jg 0x49ace3
movups xmmword [rsp + 0xd8], xmm15
lea rdi, [rsp + 0xe0]
lea rdi, [rdi - 0x30]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00461a19
mov rbp, qword [rbp]
lea rdx, [rsp + 0xd8]
mov qword [rsp + 0xb8], rdx
lea rax, [0x004a9300]
lea rcx, [rsp + 0xa8]
call fcn.0040dbc0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x190]
mov rdx, qword [rsp + 0xa0]
xor ebx, ebx
mov rsi, rcx
xor edi, edi
xor r8d, r8d
jmp 0x49ad2e
mov rdi, rdx
mov r8, rsi
mov rdx, rax
mov rsi, rcx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jle 0x49b068
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x60], rdi
lea r9, [rcx - 1]
mov qword [rsp + 0x68], r9
mov r10, r9
shl r9, 4
mov r11, qword [rsp + 0x188]
mov r12, qword [r11 + r9 + 8]
mov qword [rsp + 0x50], r12
mov r9, qword [r11 + r9]
mov qword [rsp + 0x80], r9
movzx r13d, byte [rsp + 0x181]
test r13b, r13b
je 0x49ad93
xor ecx, ecx
jmp 0x49ae07
mov qword [rsp], r9
mov qword [rsp + 8], r12
mov byte [rsp + 0x10], 0
call fcn.00402fc0
xorps xmm15, xmm15
mov r14, qword [0x005b2638]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
setne al
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x188]
mov r12, qword [rsp + 0x50]
movzx r13d, byte [rsp + 0x181]
mov ecx, eax
mov rax, qword [rsp + 0x70]
test cl, cl
je 0x49ae48
nop
lea rax, [0x004ab600]
call fcn.0040d000
mov qword [rax + 8], 0x27
lea rcx, [0x004c04e2]
mov qword [rax], rcx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
lea rdx, [0x004dc868]
mov rsi, rax
mov rax, qword [rsp + 0x78]
jmp 0x49ad18
mov rax, r9
mov rbx, r12
lea rcx, [0x004b9028]
mov edi, 1
call fcn.00493fa0
nop
test rax, rax
jne 0x49aea8
mov rbx, qword [rsp + 0x50]
cmp rbx, 1
jb 0x49b167
lea rdx, [rbx - 1]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x80]
lea rax, [r8 + rdx]
lea rcx, [0x004b9028]
mov edi, 1
mov rbx, rsi
call fcn.00493fa0
inc rax
test rax, rax
jge 0x49af48
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x49af27
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x49aed4
mov rax, qword [rsp + 0x78]
jmp 0x49aeef
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x004a67c0]
call fcn.00448c20
mov rdx, qword [rsp + 0x50]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
lea rdi, [rax + r8]
cmp dword [0x005b26d0], 0
jne 0x49af17
mov rdx, qword [rsp + 0x80]
mov qword [rax + r8], rdx
jmp 0x49af36
mov rdx, qword [rsp + 0x80]
nop
call fcn.00461400
jmp 0x49af36
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
jmp 0x49ad18
mov rdx, qword [rsp + 0x50]
cmp rax, rdx
ja 0x49b15f
movzx esi, byte [rsp + 0x180]
nop
test sil, sil
jne 0x49af6f
mov rcx, qword [rsp + 0x80]
jmp 0x49af85
mov rbx, rax
mov rax, qword [rsp + 0x80]
call fcn.00493080
mov rcx, rax
mov rax, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], rcx
mov rbx, qword [rsp + 0x70]
mov rdi, rax
lea rax, [0x004a9300]
call fcn.00411640
cmp byte [rax], 0
je 0x49afcc
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
jmp 0x49ad18
lea rax, [0x004a9300]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x58]
call fcn.00411e60
mov byte [rax], 1
mov rbx, qword [rsp + 0x40]
inc rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x49b006
mov rax, qword [rsp + 0x78]
jmp 0x49b01c
mov rax, qword [rsp + 0x78]
mov edi, 1
lea rsi, [0x004a67c0]
call fcn.00448c20
lea rdx, [rbx - 1]
shl rdx, 4
mov r8, qword [rsp + 0x50]
mov qword [rax + rdx + 8], r8
lea rdi, [rax + rdx]
cmp dword [0x005b26d0], 0
jne 0x49b049
mov r8, qword [rsp + 0x80]
mov qword [rax + rdx], r8
jmp 0x49b056
mov rdx, qword [rsp + 0x80]
call fcn.00461400
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
jmp 0x49ad18
xor eax, eax
jmp 0x49b073
lea rax, [r10 + 1]
mov r8, rcx
mov rcx, rbx
shr rbx, 1
nop dword [rax]
cmp rax, rbx
jge 0x49b130
mov rbx, rcx
sub rcx, rax
cmp rbx, rax
jbe 0x49b157
lea r9, [rcx - 1]
mov r10, rax
shl rax, 4
mov r11, qword [rdx + rax]
mov r12, qword [rdx + rax + 8]
lea r13, [rdx + rax]
cmp rbx, r9
jbe 0x49b14c
shl r9, 4
mov r15, qword [rdx + r9]
mov rcx, r8
mov r8, qword [rdx + r9 + 8]
mov qword [rdx + rax + 8], r8
lea r8, [rdx + r9]
cmp dword [0x005b26d0], 0
jne 0x49b0e2
mov qword [rdx + rax], r15
nop
jmp 0x49b103
mov qword [rsp + 0x98], r8
mov rax, rdi
mov rdi, r13
mov r8, r15
call fcn.00461460
mov rdi, rax
mov r8, qword [rsp + 0x98]
mov qword [rdx + r9 + 8], r12
cmp dword [0x005b26d0], 0
jne 0x49b11a
mov qword [rdx + r9], r11
jmp 0x49b06c
mov rax, rdi
mov rdi, r8
mov r9, r11
call fcn.00461480
mov rdi, rax
jmp 0x49b06c
mov rax, rdx
mov rbx, rcx
mov rcx, rsi
mov rsi, r8
mov rbp, qword [rsp + 0x170]
add rsp, 0x178
ret
mov rax, r9
mov rcx, rbx
call fcn.00461780
mov rcx, rbx
call fcn.00461780
mov rcx, rax
call fcn.004617c0
mov eax, 1
xor ecx, ecx
call fcn.00461840
nop
mov byte [rsp + 8], al
mov byte [rsp + 9], bl
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
call fcn.0045f120
movzx eax, byte [rsp + 8]
movzx ebx, byte [rsp + 9]
mov rcx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
jmp fcn.0049ac20