Function at 0x1003bbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x10124ff8], 0
push ebx
mov ebx, dword [0x100d8894]
push esi
jne case.default.0x1003be45
cmp byte [0x100d406f], 0
jne 0x1003bc21
cmp byte [0x100d4070], 0
je 0x1003bd9a
mov ecx, dword [0x100d886c]
test ecx, ecx
je 0x1003bcce
movss xmm0, dword [0x100d438c]
comiss xmm0, dword [0x10125000]
jb 0x1003bcce
movss xmm1, dword [0x100d4388]
movsd xmm0, qword [0x100d23c8]
cvtps2pd xmm1, xmm1
ucomisd xmm0, xmm1
movsd qword [ebp - 8], xmm1
lahf
test ah, 0x44
jnp 0x1003bcce
push 0x100d8a94
push 0x40
push 8
push dword [0x100d3f88]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp - 8]
mulsd xmm0, qword [0x100c2610]
mov eax, dword [0x100d3f88]
push 0x100d8a94
movsd qword [eax], xmm0
push dword [0x100d8a94]
mov esi, dword [0x100d3f88]
push 8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movsd xmm0, qword [ebp - 8]
mov ecx, dword [0x100d886c]
movsd qword [0x100d23c8], xmm0
cmp byte [0x100d4384], 0
jne 0x1003bd0e
test ecx, ecx
je 0x1003bcff
cmp ecx, dword [0x100d8870]
jb 0x1003bcff
cmp byte [0x10124ff5], 0
jne 0x1003bcff
mov al, byte [0x100d3cc4]
shr al, 2
test al, 1
jne 0x1003bcff
or word [ebx + 0x1e], 4
jmp 0x1003bd08
mov eax, 0xfffb
and word [ebx + 0x1e], ax
mov ecx, dword [0x100d886c]
cmp byte [0x100d43a8], 0
je 0x1003bd30
mov eax, dword [0x100d8870]
inc eax
cmp byte [0x100d4070], 0
je 0x1003bd27
inc eax
cmp ecx, eax
jne 0x1003bd30
or word [ebx + 0x1e], 2
cmp byte [0x100d4070], 0
je 0x1003bd9a
movss xmm0, dword [0x10125000]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1003bd4e
xorps xmm2, xmm2
jmp 0x1003bd56
movss xmm2, dword [0x100c26ac]
movss xmm0, dword [0x10125000]
comiss xmm0, xmm1
jbe 0x1003bd6d
movss xmm0, dword [0x100c273c]
jmp 0x1003bd75
movss xmm0, dword [0x100c26e0]
mov eax, dword [0x100d3a30]
movss xmm1, dword [eax + 0x9c]
comiss xmm1, xmm2
jbe 0x1003bd9a
comiss xmm0, xmm1
mov cx, word [0x100d3cc4]
jbe 0x1003bda1
or word [ebx + 0x1e], 4
jmp 0x1003bda1
mov cx, word [0x100d3cc4]
mov eax, dword [0x100d3a30]
cmp dword [eax + 0xe0], 0xffffffff
je 0x1003bebe
mov edx, dword [0x101255a0]
inc edx
mov dword [0x101255a0], edx
mov esi, edx
cmp edx, 0x32
jb 0x1003bdd4
mov edx, 0x32
mov dword [0x101255a0], edx
mov esi, edx
test esi, esi
je case.default.0x1003be45
mov eax, dword [0x100d8894]
movzx eax, word [eax + 0x1e]
not eax
test al, 4
jne case.default.0x1003be45
shr cl, 2
test cl, 1
jne case.default.0x1003be45
cmp esi, 5
ja case.default.0x1003be45
mov eax, dword [0x100d8878]
inc eax
mov dword [0x100d8878], eax
cmp eax, 0x64
jbe 0x1003be3b
mov dword [0x100d8878], 0
mov ecx, 0xc
mov eax, 0x100d887c
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1003be30
dec edx
cmp edx, 4
ja case.default.0x1003be45
jmp dword [edx*4 + 0x1003bed0]
inc dword [0x100d8888]
inc dword [0x100d887c]
mov dword [0x100d888c], 0
mov dword [0x100d8890], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [0x100d888c]
inc dword [0x100d8880]
mov dword [0x100d8888], 0
mov dword [0x100d8890], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [0x100d8890]
inc dword [0x100d8884]
mov dword [0x100d8888], 0
mov dword [0x100d888c], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x101255a0], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret