Function at 0x10006692
Capabilities:
Allocate or change rwx memory

Disassembly:
mov al, byte [0x100c6b38]
test al, al
je 0x1000684d
mov ecx, 0x100c6b10
call fcn.1002b02c
cmp dword [0x100c5004], 0x537
jne 0x100066bf
mov dword [0x100c5004], 0x551
cmp dword [0x100c5008], 0x1bd4
jne 0x100066e5
mov dword [0x100c5008], 0x1bd5
cmp dword [0x100c500c], 0xad2
je 0x10006846
mov al, byte [0x100c6b60]
test al, al
je 0x100068ae
mov ecx, 0x100c6b40
call fcn.1002b076
cmp dword [0x100c5004], 0x537
jne 0x10006712
mov dword [0x100c5004], 0x551
cmp dword [0x100c5008], 0x1bd4
jne 0x10006738
mov dword [0x100c5008], 0x1bd5
cmp dword [0x100c500c], 0xad2
je 0x10006846
mov al, byte [0x100c6b98]
test al, al
je 0x10006907
mov ecx, 0x100c6b70
call fcn.1002b02c
cmp dword [0x100c5004], 0x537
jne 0x10006765
mov dword [0x100c5004], 0x551
cmp dword [0x100c5008], 0x1bd4
jne 0x1000678b
mov dword [0x100c5008], 0x1bd5
cmp dword [0x100c500c], 0xad2
je 0x10006846
mov al, byte [0x100c6bc0]
test al, al
je 0x10006968
mov ecx, 0x100c6ba0
call fcn.1002b076
cmp dword [0x100c5004], 0x537
jne 0x100067b8
mov dword [0x100c5004], 0x551
cmp dword [0x100c5008], 0x1bd4
jne 0x100067da
mov dword [0x100c5008], 0x1bd5
cmp dword [0x100c500c], 0xad2
je 0x10006846
mov al, byte [0x100c6c00]
test al, al
je 0x100069c1
mov ecx, 0x100c6bd0
call fcn.1002b0c0
cmp dword [0x100c5004], 0x537
jne 0x10006807
mov dword [0x100c5004], 0x551
cmp dword [0x100c5008], 0x1bd4
jne 0x10006829
mov dword [0x100c5008], 0x1bd5
cmp dword [0x100c500c], 0xad2
je 0x10006846
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0x40
push 0x3000
push dword [eax + 0x50]
push 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
ret
push 0
call sub.msvcrt.dll_exit
push 0x100c6b38
call fcn.1002b68c
add esp, 4
test eax, eax
je 0x1000669f
mov byte [0x100c6b34], 1
movaps xmm0, xmmword [0x100b6270]
movaps xmmword [0x100c6b10], xmm0
movaps xmm0, xmmword [0x100b6280]
movaps xmmword [0x100c6b20], xmm0
mov dword [0x100c6b30], 0x22391bf9
push 0x10024ee3
call fcn.100013b0
add esp, 4
push 0x100c6b38
call fcn.1002b733
add esp, 4
jmp 0x1000669f
push 0x100c6b60
call fcn.1002b68c
add esp, 4
test eax, eax
je 0x100066f2
mov byte [0x100c6b58], 1
movaps xmm0, xmmword [0x100b6290]
movaps xmmword [0x100c6b40], xmm0
movsd xmm0, qword [0x100b62a0]
movsd qword [0x100c6b50], xmm0
push 0x10024eff
call fcn.100013b0
add esp, 4
push 0x100c6b60
call fcn.1002b733
add esp, 4
jmp 0x100066f2
push 0x100c6b98
call fcn.1002b68c
add esp, 4
test eax, eax
je 0x10006745
mov byte [0x100c6b94], 1
movaps xmm0, xmmword [0x100b6270]
movaps xmmword [0x100c6b70], xmm0
movaps xmm0, xmmword [0x100b6280]
movaps xmmword [0x100c6b80], xmm0
mov dword [0x100c6b90], 0x22391bf9
push 0x10024f15
call fcn.100013b0
add esp, 4
push 0x100c6b98
call fcn.1002b733
add esp, 4
jmp 0x10006745
push 0x100c6bc0
call fcn.1002b68c
add esp, 4
test eax, eax
je 0x10006798
mov byte [0x100c6bb8], 1
movaps xmm0, xmmword [0x100b6290]
movaps xmmword [0x100c6ba0], xmm0
movsd xmm0, qword [0x100b62a0]
movsd qword [0x100c6bb0], xmm0
push 0x10024f31
call fcn.100013b0
add esp, 4
push 0x100c6bc0
call fcn.1002b733
add esp, 4
jmp 0x10006798
push 0x100c6c00
call fcn.1002b68c
add esp, 4
test eax, eax
je 0x100067e7
mov byte [0x100c6bfe], 1
movaps xmm0, xmmword [0x100b62b0]
movaps xmmword [0x100c6bd0], xmm0
movaps xmm0, xmmword [0x100b62c0]
movaps xmmword [0x100c6be0], xmm0
movsd xmm0, qword [0x100b62d0]
movsd qword [0x100c6bf0], xmm0
mov dword [0x100c6bf8], 0x680504a0
mov word [0x100c6bfc], 0x6ad8
push 0x10024f47
call fcn.100013b0
add esp, 4
push 0x100c6c00
call fcn.1002b733
add esp, 4
jmp 0x100067e7