Function at 0x1000639b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov al, byte [0x100c5848]
test al, al
je 0x10006556
mov ecx, 0x100c5830
call fcn.1002958e
cmp dword [0x100c4004], 0x185aeeb
jne 0x100063c8
mov dword [0x100c4004], 0x186b721
cmp dword [0x100c4008], 0x11ac9cc
jne 0x100063ee
mov dword [0x100c4008], 0x11ac9cd
cmp dword [0x100c400c], 0x67e
je 0x1000654f
mov al, byte [0x100c5880]
test al, al
je 0x100065a9
mov ecx, 0x100c5850
call fcn.100295d8
cmp dword [0x100c4004], 0x185aeeb
jne 0x1000641b
mov dword [0x100c4004], 0x186b721
cmp dword [0x100c4008], 0x11ac9cc
jne 0x10006441
mov dword [0x100c4008], 0x11ac9cd
cmp dword [0x100c400c], 0x67e
je 0x1000654f
mov al, byte [0x100c58a8]
test al, al
je 0x10006612
mov ecx, 0x100c5890
call fcn.1002958e
cmp dword [0x100c4004], 0x185aeeb
jne 0x1000646e
mov dword [0x100c4004], 0x186b721
cmp dword [0x100c4008], 0x11ac9cc
jne 0x10006494
mov dword [0x100c4008], 0x11ac9cd
cmp dword [0x100c400c], 0x67e
je 0x1000654f
mov al, byte [0x100c58e0]
test al, al
je 0x10006665
mov ecx, 0x100c58b0
call fcn.100295d8
cmp dword [0x100c4004], 0x185aeeb
jne 0x100064c1
mov dword [0x100c4004], 0x186b721
cmp dword [0x100c4008], 0x11ac9cc
jne 0x100064e3
mov dword [0x100c4008], 0x11ac9cd
cmp dword [0x100c400c], 0x67e
je 0x1000654f
mov al, byte [0x100c5908]
test al, al
je 0x100066ce
mov ecx, 0x100c58f0
call fcn.10029622
cmp dword [0x100c4004], 0x185aeeb
jne 0x10006510
mov dword [0x100c4004], 0x186b721
cmp dword [0x100c4008], 0x11ac9cc
jne 0x10006532
mov dword [0x100c4008], 0x11ac9cd
cmp dword [0x100c400c], 0x67e
je 0x1000654f
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 0x100c5848
call fcn.10029bf0
add esp, 4
test eax, eax
je 0x100063a8
mov byte [0x100c5844], 1
movaps xmm0, xmmword [0x100b51d0]
movaps xmmword [0x100c5830], xmm0
mov dword [0x100c5840], 0x221a63d0
push 0x10023a73
call fcn.100013b0
add esp, 4
push 0x100c5848
call fcn.10029c97
add esp, 4
jmp 0x100063a8
push 0x100c5880
call fcn.10029bf0
add esp, 4
test eax, eax
je 0x100063fb
movaps xmm0, xmmword [0x100b51e0]
movaps xmmword [0x100c5850], xmm0
movaps xmm0, xmmword [0x100b51f0]
movaps xmmword [0x100c5860], xmm0
movsd xmm0, qword [0x100b5200]
movsd qword [0x100c5870], xmm0
mov word [0x100c5878], 0x196
push 0x10023a88
call fcn.100013b0
add esp, 4
push 0x100c5880
call fcn.10029c97
add esp, 4
jmp 0x100063fb
push 0x100c58a8
call fcn.10029bf0
add esp, 4
test eax, eax
je 0x1000644e
mov byte [0x100c58a4], 1
movaps xmm0, xmmword [0x100b51d0]
movaps xmmword [0x100c5890], xmm0
mov dword [0x100c58a0], 0x221a63d0
push 0x10023aa1
call fcn.100013b0
add esp, 4
push 0x100c58a8
call fcn.10029c97
add esp, 4
jmp 0x1000644e
push 0x100c58e0
call fcn.10029bf0
add esp, 4
test eax, eax
je 0x100064a1
movaps xmm0, xmmword [0x100b51e0]
movaps xmmword [0x100c58b0], xmm0
movaps xmm0, xmmword [0x100b51f0]
movaps xmmword [0x100c58c0], xmm0
movsd xmm0, qword [0x100b5200]
movsd qword [0x100c58d0], xmm0
mov word [0x100c58d8], 0x196
push 0x10023ab6
call fcn.100013b0
add esp, 4
push 0x100c58e0
call fcn.10029c97
add esp, 4
jmp 0x100064a1
push 0x100c5908
call fcn.10029bf0
add esp, 4
test eax, eax
je 0x100064f0
movaps xmm0, xmmword [0x100b5210]
movaps xmmword [0x100c58f0], xmm0
mov dword [0x100c5900], 0x81a63f9
mov word [0x100c5904], 0x182
push 0x10023acf
call fcn.100013b0
add esp, 4
push 0x100c5908
call fcn.10029c97
add esp, 4
jmp 0x100064f0