Function at 0x1000c470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1001a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10033954], 0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
jne 0x1000c50c
mov edi, dword [0x10033158]
test edi, edi
je 0x1000c50a
lea eax, [edi + 7]
mov dword [0x100333ac], eax
test eax, eax
je 0x1000c50a
cmp byte [0x10033057], 1
jne 0x1000c4d8
push 6
mov edx, 0x1000c440
mov ecx, edi
call fcn.10002040
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x1000c50c
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push edi
call esi
push 6
push 0x1000c460
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push edi
call esi
mov edi, dword [ebp - 0x24]
jmp 0x1000c50c
mov edi, ecx
cmp dword [0x100335b4], 0
je 0x1000c64a
mov eax, dword [0x100338c8]
mov dword [0x10033448], 0
mov dword [0x10033a08], 0
cmp dword [eax], 0
jbe 0x1000c630
mov ecx, edi
mov dword [0x10033178], 7
call fcn.1000c150
mov ecx, dword [0x1003329c]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov ecx, dword [0x10033860]
mov ecx, dword [ecx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x11dc7d00]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea ecx, [eax + edx]
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x100333f8]
mov ecx, 0x11dc8ee4
mov edx, dword [ebp - 0x2c]
push 0
mov edx, dword [edx + eax]
call fcn.10009670
add esp, 4
cmp esi, 0xffffffff
je 0x1000c630
push dword [0x10033178]
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10009670
add esp, 4
test al, al
je 0x1000c616
movss xmm1, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
addss xmm1, dword [0x10017b5c]
movss xmm2, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x18]
push edi
push eax
sub esp, 0xc
unpcklps xmm2, xmm1
mov ecx, esp
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
call fcn.10003ef0
test al, al
je 0x1000c616
movq xmm0, qword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movq qword [0x11dc8ed8], xmm0
movss xmm0, dword [ebp - 0x18]
mov dword [0x11dc8ee0], eax
movss dword [0x11dc7ae4], xmm0
mov al, 1
mov byte [0x10033057], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov byte [0x10033057], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012785
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x10033448], 0
je 0x1000c6da
mov eax, dword [0x100338c8]
mov dword [0x100335b4], 0
mov dword [0x10033a08], 0
cmp dword [eax], 0
jbe 0x1000c77b
call fcn.10009810
mov ecx, dword [0x1003329c]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [0x10033860]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x11dc7d00]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x100333f8]
mov ecx, 0x11dc8ee4
mov edx, dword [ebp - 0x24]
push 0
mov edx, dword [edx + eax]
call fcn.10009670
add esp, 4
cmp esi, 0xffffffff
je 0x1000c630
push 7
jmp 0x1000c761
cmp dword [0x10033a08], 0
je 0x1000c77b
mov eax, dword [0x100338c8]
mov dword [0x100335b4], 0
mov dword [0x10033448], 0
cmp dword [eax], 0
jbe 0x1000c77b
call fcn.10009810
mov ecx, dword [0x1003329c]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [0x10033860]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x11dc7d00]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x100333f8]
mov ecx, 0x11dc8ee4
mov edx, dword [ebp - 0x24]
push 0
mov edx, dword [edx + eax]
call fcn.10009670
add esp, 4
cmp esi, 0xffffffff
je 0x1000c630
push 5
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10009670
add esp, 4
test al, al
je 0x1000c630
jmp 0x1000c5b8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x10033057], 0
pop esi
call fcn.10012785
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret