Function at 0x538100
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0xf0]
cmp r12, qword [r14 + 0x10]
jbe 0x53861e
push rbp
mov rbp, rsp
sub rsp, 0x168
mov byte [rsp + 0x178], al
mov byte [rsp + 0x179], bl
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x188], rdi
lea rax, [0x0066f860]
xor ebx, ebx
mov rcx, rdi
call fcn.0044f600
mov qword [rsp + 0x98], rax
movups xmmword [rsp + 0x138], xmm15
movups xmmword [rsp + 0x148], xmm15
movups xmmword [rsp + 0x158], xmm15
mov rbx, qword [rsp + 0x188]
cmp rbx, 8
jg 0x5381c3
movups xmmword [rsp + 0xa0], xmm15
lea rdi, [rsp + 0xa8]
lea rdi, [rdi - 0x30]
nop word [rax + rax]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0046c919
mov rbp, qword [rbp]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x148], rdx
lea rax, [0x0067e820]
lea rcx, [rsp + 0x138]
call fcn.0040f500
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x188]
xor edx, edx
xor ebx, ebx
mov rsi, qword [rsp + 0x98]
mov rdi, rcx
xor r8d, r8d
jmp 0x53820e
mov rdi, rcx
mov r8, rbx
mov rcx, qword [rsp + 0x68]
mov rbx, rsi
mov rsi, rax
mov rax, qword [rsp + 0x70]
test rcx, rcx
jle 0x53855d
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x80], rbx
lea r9, [rcx - 1]
mov qword [rsp + 0x68], r9
mov r10, r9
shl r9, 4
mov r11, qword [rsp + 0x180]
mov r12, qword [r11 + r9 + 8]
mov qword [rsp + 0x40], r12
mov r9, qword [r11 + r9]
mov qword [rsp + 0x78], r9
movzx r13d, byte [rsp + 0x179]
test r13b, r13b
je 0x538273
xor ecx, ecx
jmp 0x5382e7
mov qword [rsp], r9
mov qword [rsp + 8], r12
mov byte [rsp + 0x10], 0
call fcn.00403b00
xorps xmm15, xmm15
mov r14, qword [0x00a202e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
setne al
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x78]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x180]
mov r12, qword [rsp + 0x40]
movzx r13d, byte [rsp + 0x179]
mov ecx, eax
mov rax, qword [rsp + 0x70]
test cl, cl
je 0x53832b
nop
lea rax, [0x0068a5a0]
call fcn.0040ea40
mov qword [rax + 8], 0x27
lea rcx, [0x006d6074]
mov qword [rax], rcx
lea rdx, [0x00744940]
mov rsi, rax
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x90]
jmp 0x5381f8
mov rax, r9
mov rbx, r12
lea rcx, [0x00741850]
mov edi, 1
nop dword [rax]
call fcn.0050e000
test rax, rax
jne 0x53838a
mov rbx, qword [rsp + 0x40]
cmp rbx, 1
jb 0x538611
lea rdx, [rbx - 1]
mov rsi, rdx
neg rdx
sar rdx, 0x3f
and edx, 1
mov r8, qword [rsp + 0x78]
lea rax, [r8 + rdx]
lea rcx, [0x00741850]
mov edi, 1
mov rbx, rsi
call fcn.0050e000
inc rax
test rax, rax
jge 0x538433
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x53840f
mov rbx, qword [rsp + 0x58]
inc rbx
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
jb 0x5383b9
mov rax, qword [rsp + 0x90]
jmp 0x5383d7
mov rax, qword [rsp + 0x90]
mov edi, 1
lea rsi, [0x0066f860]
call fcn.0044f6e0
mov rdx, qword [rsp + 0x40]
lea r8, [rbx - 1]
shl r8, 4
mov qword [rax + r8 + 8], rdx
cmp dword [0x00a204b0], 0
jne 0x5383f4
mov rdx, qword [rsp + 0x78]
jmp 0x538409
call fcn.0046c2a0
mov rdx, qword [rsp + 0x78]
mov qword [r11], rdx
mov r9, qword [rax + r8]
mov qword [r11 + 8], r9
mov qword [rax + r8], rdx
jmp 0x538421
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
jmp 0x5381f8
mov rdx, qword [rsp + 0x40]
nop dword [rax + rax]
cmp rax, rdx
ja 0x538609
movzx esi, byte [rsp + 0x178]
test sil, sil
jne 0x53845d
mov rcx, qword [rsp + 0x78]
jmp 0x538470
mov rbx, rax
mov rax, qword [rsp + 0x78]
call fcn.0050c960
mov rcx, rax
mov rax, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x88], rcx
mov rbx, qword [rsp + 0x70]
mov rdi, rax
lea rax, [0x0067e820]
call fcn.00413760
cmp byte [rax], 0
je 0x5384ba
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x90]
jmp 0x5381f8
lea rax, [0x0067e820]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x50]
call fcn.00413f00
mov byte [rax], 1
mov rbx, qword [rsp + 0x58]
inc rbx
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
jb 0x5384f7
mov rax, qword [rsp + 0x90]
jmp 0x538510
mov rax, qword [rsp + 0x90]
mov edi, 1
lea rsi, [0x0066f860]
call fcn.0044f6e0
lea rdx, [rbx - 1]
shl rdx, 4
mov r8, qword [rsp + 0x40]
mov qword [rax + rdx + 8], r8
cmp dword [0x00a204b0], 0
jne 0x538532
mov r8, qword [rsp + 0x78]
jmp 0x538547
call fcn.0046c2a0
mov r8, qword [rsp + 0x78]
mov qword [r11], r8
mov r9, qword [rdx + rax]
mov qword [r11 + 8], r9
mov qword [rax + rdx], r8
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
jmp 0x5381f8
xor eax, eax
nop
jmp 0x538576
mov qword [rsi + rax], r13
mov qword [rsi + r8 + 8], r11
mov qword [rsi + r8], r10
lea rax, [r9 + 1]
mov r8, rcx
mov rcx, r8
shr r8, 1
nop dword [rax]
cmp rax, r8
jge 0x5385e9
mov r8, rcx
sub r8, rax
dec r8
mov r9, rax
shl rax, 4
mov r10, qword [rax + rsi]
mov r11, qword [rax + rsi + 8]
nop
cmp rcx, r8
jbe 0x538601
shl r8, 4
mov r12, qword [r8 + rsi + 8]
mov r13, qword [r8 + rsi]
mov qword [rsi + rax + 8], r12
cmp dword [0x00a204b0], 0
nop
je 0x538562
mov r12, r11
call fcn.0046c2e0
mov qword [r11], r13
mov r15, qword [rax + rsi]
mov qword [r11 + 8], r15
mov qword [r11 + 0x10], r10
mov r15, qword [r8 + rsi]
mov qword [r11 + 0x18], r15
mov r11, r12
jmp 0x538562
mov rax, rsi
mov rsi, rbx
mov rbx, rcx
mov rcx, rdi
mov rdi, rdx
add rsp, 0x168
pop rbp
ret
mov rax, r8
call fcn.0046c640
mov rcx, rax
call fcn.0046c680
mov eax, 1
xor ecx, ecx
call fcn.0046c700
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.0046a360
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.00538100