Function at 0x507660
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x120]
cmp r12, qword [r14 + 0x10]
jbe 0x50814b
sub rsp, 0x1a0
mov qword [rsp + 0x198], rbp
lea rbp, [rsp + 0x198]
call fcn.0048b700
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x140], rcx
mov rdx, qword [0x008e6f50]
mov qword [rsp + 0x110], rdx
mov rsi, qword [0x008e6f58]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x008f42f8]
mov r8, qword [0x008f4300]
mov r9, qword [0x008f4308]
mov rsi, r8
mov r8, r9
nop dword [rax]
call fcn.0048a3a0
test al, al
je 0x50771d
mov rcx, qword [0x008f4318]
mov rax, qword [0x008f4310]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
cmp rcx, rbx
je 0x507709
xor eax, eax
jmp 0x507724
mov rbx, qword [rsp + 0x110]
call fcn.00402d80
mov rbx, qword [rsp + 0x78]
jmp 0x507724
mov rbx, qword [rsp + 0x78]
xor eax, eax
test al, al
je 0x507755
mov rcx, qword [0x008f42e8]
test rcx, rcx
je 0x507739
mov rcx, qword [rcx]
jmp 0x507740
xor ecx, ecx
nop dword [rax + rax]
test rcx, rcx
jle 0x507755
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.00515280
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x50], rdi
test rsi, rsi
je 0x507793
mov r10, qword [rsp + 0x78]
xor edx, edx
jmp 0x507841
mov rdx, qword [0x008f4318]
mov r9, qword [0x008f4310]
mov r10, qword [rsp + 0x78]
cmp rdx, r10
je 0x5077af
xor edx, edx
jmp 0x5077e9
mov rax, r9
mov rbx, qword [rsp + 0x110]
mov rcx, rdx
nop dword [rax]
call fcn.00402d80
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
jne 0x5077f1
xor edx, edx
jmp 0x507841
mov rdx, qword [0x008f4320]
mov r9, qword [0x008f4328]
mov r10, qword [0x008f4330]
mov rdi, rax
mov rsi, rbx
mov r8, rcx
mov rax, rdx
mov rbx, r9
mov rcx, r10
call fcn.0048a460
mov rcx, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
mov r10, qword [rsp + 0x78]
mov edx, eax
mov rax, qword [rsp + 0xa0]
test dl, dl
je 0x5078b5
cmp qword [0x008f4338], rdi
jne 0x5078b5
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.0048af00
mov qword [0x008f42f8], rax
mov qword [0x008f4300], rbx
cmp dword [0x00948810], 0
jne 0x507895
mov qword [0x008f4308], rcx
jmp 0x5078a5
lea rdi, [0x008f4308]
nop dword [rax]
call fcn.00465680
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
call fcn.0040e4a0
mov qword [rsp + 0x108], rax
call fcn.0040e4a0
mov qword [rsp + 0x100], rax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x110]
nop dword [rax]
call fcn.00515180
test rax, rax
je 0x5078f9
mov qword [rsp + 0x118], rax
call fcn.00514f60
jmp 0x507916
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rax, qword [rsp + 0x118]
call fcn.00514f60
test cl, cl
je 0x5079d8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x23
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x009485a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
test rcx, rcx
jl 0x50796a
mov rdx, qword [rsp + 0x68]
nop
cmp rdx, rcx
jae 0x50796f
jmp 0x508145
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
lea rcx, [0x006d64b0]
mov edi, 4
call fcn.00515420
cmp rbx, 2
jl 0x507909
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xd8], rax
mov rcx, qword [rax]
mov rbx, qword [rax + 8]
mov rax, rcx
call fcn.00507580
test rbx, rbx
je 0x507909
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x128], rax
mov ecx, 1
xor edx, edx
xor esi, esi
jmp 0x507b56
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
movabs rdi, 0x12a05f200
call fcn.0048af00
mov qword [0x008f42f8], rax
mov qword [0x008f4300], rbx
cmp dword [0x00948810], 0
jne 0x507a1f
mov qword [0x008f4308], rcx
jmp 0x507a2b
lea rdi, [0x008f4308]
call fcn.00465680
mov rcx, qword [rsp + 0x78]
mov qword [0x008f4318], rcx
cmp dword [0x00948810], 0
nop
jne 0x507a71
mov rcx, qword [rsp + 0x110]
mov qword [0x008f4310], rcx
mov rcx, qword [rsp + 0x108]
mov qword [0x008f42e8], rcx
mov rcx, qword [rsp + 0x100]
mov qword [0x008f42f0], rcx
jmp 0x507aad
lea rdi, [0x008f4310]
mov rcx, qword [rsp + 0x110]
call fcn.00465680
lea rdi, [0x008f42e8]
mov rcx, qword [rsp + 0x108]
call fcn.00465680
lea rdi, [0x008f42f0]
mov rcx, qword [rsp + 0x100]
call fcn.00465680
mov rcx, qword [rsp + 0xa0]
mov qword [0x008f4320], rcx
mov rcx, qword [rsp + 0x98]
mov qword [0x008f4328], rcx
cmp dword [0x00948810], 0
jne 0x507ae5
mov rcx, qword [rsp + 0x138]
mov qword [0x008f4330], rcx
jmp 0x507af9
lea rdi, [0x008f4330]
mov rcx, qword [rsp + 0x138]
call fcn.00465680
mov rcx, qword [rsp + 0x50]
mov qword [0x008f4338], rcx
nop
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx]
test rcx, rcx
je 0x507b1e
mov rax, qword [rcx]
call fcn.004c3380
mov rbp, qword [rsp + 0x198]
add rsp, 0x1a0
ret
mov rcx, qword [rsp + 0x70]
inc rcx
mov rax, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x48]
nop dword [rax + rax]
cmp rdi, rcx
jle 0x507909
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x120], rsi
shl rcx, 4
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0xd8]
mov rbx, qword [rdx + rcx + 8]
mov qword [rsp + 0x60], rbx
mov rsi, qword [rdx + rcx]
mov qword [rsp + 0xe8], rsi
mov qword [rsp], rsi
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x009485a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x507c1c
mov rax, qword [rsp + 0x60]
lea rdx, [rax - 1]
nop
cmp rax, rdx
jbe 0x508139
mov rbx, qword [rsp + 0xe8]
movzx edx, byte [rax + rbx - 1]
cmp dl, 0x2e
je 0x507c29
mov rcx, rax
lea rdi, [0x0074d6b8]
mov esi, 1
xor eax, eax
call fcn.0044e7a0
mov rcx, rbx
mov rbx, rax
mov rax, rcx
jmp 0x507c29
mov rbx, qword [rsp + 0xe8]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xe8], rbx
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsi + rdx]
mov rcx, qword [rsi + rdx + 8]
lea rax, [rsp + 0xb8]
mov rbx, rdi
call fcn.0044ed40
xor ecx, ecx
jmp 0x50810d
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044eb40
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2e
call fcn.00403280
xorps xmm15, xmm15
mov r14, qword [0x009485a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x507cf2
mov rax, qword [rsp + 0x58]
lea rdx, [rax - 1]
cmp rax, rdx
jbe 0x50812e
mov rbx, qword [rsp + 0xe0]
movzx edx, byte [rbx + rax - 1]
cmp dl, 0x2e
je 0x507cff
mov rcx, rax
lea rdi, [0x0074d6b8]
mov esi, 1
xor eax, eax
call fcn.0044e7a0
mov rcx, rax
mov rax, rbx
mov rbx, rcx
jmp 0x507cff
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0x88]
lea rax, [0x00691180]
mov rbx, qword [rsp + 0x100]
call fcn.004131e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 1
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x40]
cmove rsi, rdi
mov qword [rsp + 0x80], rsi
mov r8, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xf8]
cmove r8, rcx
mov qword [rsp + 0x120], r8
mov r9, qword [rax]
mov r10, qword [rax + 0x10]
mov rbx, qword [rax + 8]
inc rbx
nop dword [rax]
cmp r10, rbx
jae 0x507ded
mov qword [rsp + 0x130], rax
mov rax, r9
mov rcx, r10
mov edi, 1
lea rsi, [0x00683e20]
nop
call fcn.0044a960
mov rdi, qword [rsp + 0x130]
mov qword [rdi + 0x10], rcx
cmp dword [0x00948810], 0
jne 0x507dc0
mov qword [rdi], rax
jmp 0x507dc5
call fcn.00465580
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x120]
mov r9, rax
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov qword [rax + 8], rbx
lea r10, [rbx - 1]
shl r10, 4
mov r11, qword [rsp + 0x60]
mov qword [r9 + r10 + 8], r11
lea r11, [r9 + r10]
cmp dword [0x00948810], 0
jne 0x507e1e
mov r11, qword [rsp + 0xe8]
mov qword [r9 + r10], r11
jmp 0x507e34
mov rax, rdi
mov rdi, r11
mov r9, qword [rsp + 0xe8]
call fcn.00465720
mov rdi, rax
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x00691480]
mov rbx, qword [rsp + 0x108]
nop
call fcn.00412dc0
mov rdx, qword [rax]
mov qword [rsp + 0x170], rdx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x178], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x188], xmm0
mov rdx, qword [rsp + 0x170]
mov qword [rsp + 0x148], rdx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rsp + 0x160], xmm0
nop dword [rax + rax]
test bl, bl
je 0x507ff9
mov rbx, qword [rsp + 0x150]
inc rbx
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x148]
cmp rcx, rbx
jae 0x507ef9
mov edi, 1
lea rsi, [0x00683e20]
call fcn.0044a960
lea rdx, [rbx - 1]
shl rdx, 4
mov rsi, qword [rsp + 0x88]
mov qword [rax + rdx + 8], rsi
lea rdi, [rax + rdx]
cmp dword [0x00948810], 0
jne 0x507f29
mov r8, qword [rsp + 0x128]
mov qword [rax + rdx], r8
jmp 0x507f36
mov rdx, qword [rsp + 0x128]
call fcn.004656a0
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], rcx
mov rdx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], rsi
lea rax, [0x00691480]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00948810], 0
jne 0x507fdd
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x507b2e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006a55c0]
call fcn.00413e40
jmp 0x507b2e
movups xmmword [rsp + 0x170], xmm15
movups xmmword [rsp + 0x178], xmm15
movups xmmword [rsp + 0x188], xmm15
lea rax, [0x006854a0]
nop dword [rax + rax]
call fcn.0040d960
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
cmp dword [0x00948810], 0
jne 0x508047
mov rdx, qword [rsp + 0x128]
mov qword [rax], rdx
jmp 0x508057
mov rdi, rax
mov rdx, qword [rsp + 0x128]
call fcn.004656a0
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 1
mov qword [rsp + 0x180], 1
mov rdx, qword [rsp + 0x120]
mov qword [rsp + 0x188], rdx
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x190], rsi
lea rax, [0x00691480]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x40]
call fcn.004131e0
test byte [rax], al
cmp dword [0x00948810], 0
jne 0x5080eb
mov rcx, qword [rsp + 0x170]
mov qword [rax], rcx
movups xmm0, xmmword [rsp + 0x178]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rsp + 0x188]
movups xmmword [rax + 0x18], xmm0
jmp 0x507b2e
mov rbx, rax
lea rcx, [rsp + 0x170]
lea rax, [0x006a55c0]
nop dword [rax]
call fcn.00413e40
jmp 0x507b2e
inc rcx
cmp rbx, rcx
jle 0x507c66
movzx edx, byte [rax + rcx]
lea esi, [rdx - 0x41]
nop dword [rax]
cmp sil, 0x19
ja 0x50810a
add edx, 0x20
mov byte [rax + rcx], dl
jmp 0x50810a
mov rcx, rax
mov rax, rdx
call fcn.00465a20
mov rcx, rax
mov rax, rdx
nop
call fcn.00465a20
call fcn.00465a60
nop
call fcn.004633c0
jmp fcn.00507660