Function at 0x4afe00
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xf8]
cmp r12, qword [r14 + 0x10]
jbe 0x4b0329
sub rsp, 0x178
mov qword [rsp + 0x170], rbp
lea rbp, [rsp + 0x170]
mov byte [rsp + 0x180], al
mov qword [rsp + 0x190], rcx
mov qword [rsp + 0x188], rbx
lea rax, [0x004bb4c0]
xor ebx, ebx
call fcn.00449220
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 0x4afec3
movups xmmword [rsp + 0xd8], xmm15
lea rdi, [rsp + 0xe0]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00461919
mov rbp, qword [rbp]
lea rdx, [rsp + 0xd8]
mov qword [rsp + 0xb8], rdx
lea rax, [0x004be680]
lea rcx, [rsp + 0xa8]
call fcn.0040d9a0
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 0x4aff11
mov rbx, r8
mov rsi, rdi
mov rdi, rcx
mov r8, rdx
mov rcx, qword [rsp + 0x68]
mov rdx, rax
mov rax, qword [rsp + 0x70]
test rcx, rcx
jle 0x4b0225
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x78], rdx
lea rax, [rcx - 1]
mov qword [rsp + 0x68], rax
shl rax, 4
mov rdx, qword [rsp + 0x188]
mov rbx, qword [rdx + rax + 8]
mov qword [rsp + 0x50], rbx
mov rax, qword [rdx + rax]
mov qword [rsp + 0x80], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4affcd
nop
lea rax, [0x004c0a80]
call fcn.0040cdc0
mov qword [rax + 8], 0x27
lea rcx, [0x004d7d58]
mov qword [rax], rcx
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
lea rcx, [0x004f7ed8]
mov rdx, rax
mov rax, qword [rsp + 0x78]
jmp 0x4afef8
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x50]
lea rcx, [0x004cff66]
mov edi, 1
call fcn.004aa800
test rax, rax
jne 0x4b0033
mov rbx, qword [rsp + 0x50]
cmp rbx, 1
jb 0x4b031c
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, [0x004cff66]
mov edi, 1
mov rbx, rsi
call fcn.004aa800
inc rax
test rax, rax
jge 0x4b00eb
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x4b00ca
mov rsi, qword [rsp + 0x40]
lea r8, [rsi + 1]
mov rdi, qword [rsp + 0x48]
cmp rdi, r8
jb 0x4b0064
mov rax, qword [rsp + 0x78]
jmp 0x4b008c
lea rax, [0x004bb4c0]
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
mov rsi, r8
call fcn.00449380
lea r8, [rbx + 1]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x40]
mov rdi, rcx
shl rsi, 4
mov qword [rax + rsi + 8], rdx
lea rdx, [rax + rsi]
cmp dword [0x005d9c60], 0
jne 0x4b00b0
mov rdx, qword [rsp + 0x80]
mov qword [rax + rsi], rdx
jmp 0x4b00d9
mov rcx, rdi
mov rdi, rdx
mov r9, qword [rsp + 0x80]
nop
call fcn.00461360
mov rdi, rcx
jmp 0x4b00d9
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
jmp 0x4afef8
mov rdx, qword [rsp + 0x50]
cmp rax, rdx
ja 0x4b0314
movzx esi, byte [rsp + 0x180]
test sil, sil
jne 0x4b0110
mov rcx, qword [rsp + 0x80]
jmp 0x4b012b
mov rbx, rax
mov rax, qword [rsp + 0x80]
nop dword [rax + rax]
call fcn.004a9be0
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, [0x004be680]
call fcn.00410d20
cmp byte [rax], 0
je 0x4b0172
mov rdi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
jmp 0x4afef8
lea rax, [0x004be680]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x58]
call fcn.00411540
mov byte [rax], 1
mov rsi, qword [rsp + 0x40]
lea rdx, [rsi + 1]
mov rdi, qword [rsp + 0x48]
cmp rdi, rdx
jb 0x4b01ad
mov rax, qword [rsp + 0x78]
jmp 0x4b01d1
lea rax, [0x004bb4c0]
mov rbx, qword [rsp + 0x78]
mov rcx, rsi
mov rsi, rdx
nop
call fcn.00449380
lea rdx, [rbx + 1]
mov rsi, qword [rsp + 0x40]
mov rdi, rcx
shl rsi, 4
mov r8, qword [rsp + 0x50]
mov qword [rax + rsi + 8], r8
lea r8, [rax + rsi]
cmp dword [0x005d9c60], 0
jne 0x4b01fa
mov r8, qword [rsp + 0x80]
mov qword [rax + rsi], r8
jmp 0x4b0210
mov rcx, rdi
mov rdi, r8
mov r9, qword [rsp + 0x80]
call fcn.00461360
mov rdi, rcx
mov r8, rdx
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
jmp 0x4afef8
xor eax, eax
jmp 0x4b0230
lea rax, [r10 + 1]
mov r8, rcx
mov rcx, rbx
shr rbx, 1
cmp rax, rbx
jge 0x4b02e5
mov rbx, rcx
sub rcx, rax
cmp rbx, rax
jbe 0x4b030c
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 0x4b0301
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 [0x005d9c60], 0
jne 0x4b0297
mov qword [rdx + rax], r15
jmp 0x4b02b8
mov qword [rsp + 0x98], r8
mov rax, rdi
mov rdi, r13
mov r8, r15
call fcn.00461340
mov rdi, rax
mov r8, qword [rsp + 0x98]
mov qword [rdx + r9 + 8], r12
cmp dword [0x005d9c60], 0
jne 0x4b02cf
mov qword [rdx + r9], r11
jmp 0x4b0229
mov rax, rdi
mov rdi, r8
mov r9, r11
call fcn.00461360
mov rdi, rax
jmp 0x4b0229
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.00461660
mov rcx, rbx
call fcn.00461660
mov rcx, rax
call fcn.004616a0
mov eax, 1
xor ecx, ecx
call fcn.00461720
nop
mov byte [rsp + 8], al
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop dword [rax]
call fcn.0045ef80
movzx eax, byte [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004afe00