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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10097584]
test eax, eax
push ebx
mov ebx, ecx
mov ecx, 1
push esi
cmove eax, ecx
push edi
mov dword [0x10097584], eax
call fcn.10025300
call fcn.1001e440
mov ecx, dword [0x1009c5ec]
test ecx, ecx
jne 0x10027779
mov dword [0x1009bef0], 0x32
jmp 0x100277ad
cmp ecx, 1
jne 0x1002778a
mov dword [0x1009bef0], 6
jmp 0x100277ad
cmp ecx, 2
jne 0x1002779b
mov dword [0x1009bef0], 5
jmp 0x100277ad
mov eax, dword [0x1009bef0]
xor edx, edx
cmp ecx, 3
cmove eax, edx
mov dword [0x1009bef0], eax
call fcn.10013770
test eax, eax
je 0x1002780f
push 0x75
mov dword [0x1009c88c], 0x10013a80
call fcn.10013a80
cwde
shr eax, 0x10
test eax, eax
je 0x10027808
cmp byte [0x1009d350], 0
je 0x100277ef
cmp dword [0x1009d354], 0
je 0x1002780f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1009d354], eax
ja 0x1002780f
xor eax, eax
mov byte [0x1009d350], 1
cmp dword [0x1009bcfc], eax
sete al
mov dword [0x1009bcfc], eax
jmp 0x1002780f
mov byte [0x1009d350], 0
call fcn.1001c350
call fcn.1001c080
mov ecx, ebx
call fcn.1001c4c0
call fcn.10023770
mov ecx, ebx
call fcn.1001e0f0
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [eax], 0
je 0x100278e2
cmp dword [0x1009bd00], 0
jne 0x100278ab
cmp dword [0x100984ac], 0
jne 0x100278ab
cmp dword [0x100979d4], 0
jne 0x100278ab
cmp dword [0x10096c4c], 0
jne 0x100278ab
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002791c
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
jmp 0x10027914
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002791c
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 0x10]
mov byte [edi], 0xcc
push eax
push dword [ebp - 0x10]
jmp 0x10027917
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x1002791c
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
mov byte [edi], 0x55
push 1
push edi
call esi
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10027977
cmp dword [0x1009c59c], 0
jne 0x10027947
cmp dword [0x1009ce94], 0
je 0x10027977
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x188
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100279b1
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x100279a5
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x188
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100279b1
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x6a
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
mov ecx, ebx
call fcn.10020ae0
mov ecx, ebx
call fcn.1001f6d0
mov ecx, ebx
call fcn.10020210
mov ecx, ebx
call fcn.1001fc70
call fcn.1001feb0
call fcn.1001ffb0
call fcn.10022b40
call fcn.10022ee0
call fcn.10023210
call fcn.10022a30
call fcn.10023a80
cmp dword [0x1009bd34], 0
je 0x10027aa6
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10027aa6
push 0x20
mov dword [0x1009c88c], 0x10013a80
call fcn.10013a80
cwde
shr eax, 0x10
test eax, eax
je 0x10027a9f
cmp byte [0x1009d0a8], 0
je 0x10027a5a
cmp dword [0x1009d0ac], 0
je 0x10027aa6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x1009d0ac]
inc ecx
cmp ecx, eax
ja 0x10027aa6
jmp 0x10027a60
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x1009d0a8], 1
call edi
mov ecx, dword [0x1009c18c]
mov dword [0x1009d0ac], eax
mov eax, dword [0x10098504]
add eax, 0x160
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [eax + 2]
cmp edi, 0x1000
jbe 0x10027ae1
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 3
jmp 0x10027ad5
mov byte [0x1009d0a8], 0
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x160
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [eax + 2]
cmp edi, 0x1000
jbe 0x10027ae1
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x44
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
call fcn.10023380
call fcn.10023430
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x174
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10027b8a
cmp dword [0x100979a0], 1
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
mov edx, dword [ecx]
jne 0x10027b5c
add eax, 0x1c
push eax
call dword [edx + 4]
mov ecx, dword [0x1009c18c]
cmp dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [0x10098504]
je 0x10027b5c
add eax, 0x174
push eax
call dword [edx + 4]
lea edi, [eax + 3]
cmp edi, 0x1000
jbe 0x10027b8a
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x66
jmp 0x10027b7e
add eax, 0x174
push eax
call dword [edx + 4]
lea edi, [eax + 3]
cmp edi, 0x1000
jbe 0x10027b8a
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x46
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
call fcn.10023e90
call fcn.10020790
call fcn.100212d0
call fcn.10021210
cmp dword [0x1009c138], 0
jle 0x10027c3b
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10027c3b
mov eax, dword [0x1009c138]
cmp eax, 1
jne 0x10027bda
mov dword [0x10098280], 0x42c80000
jmp 0x10027c0b
cmp eax, 2
jne 0x10027beb
mov dword [0x10098280], 0x42dc0000
jmp 0x10027c0b
cmp eax, 3
jne 0x10027bfc
mov dword [0x10098280], 0x42f00000
jmp 0x10027c0b
cmp eax, 4
jne 0x10027c0b
mov dword [0x10098280], 0x42fa0000
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x10027c75
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x10027c69
mov ecx, dword [0x1009c18c]
mov eax, dword [0x10098504]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x10027c75
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x55
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push edi
call esi
call fcn.10023ce0
call fcn.100200b0
call fcn.10023dd0
call fcn.100238b0
call fcn.100235a0
call fcn.10023640
call fcn.10024c30
call fcn.10024940
mov ecx, ebx
call fcn.10024cc0
call fcn.10027330
call fcn.10023fd0
call fcn.10024770
call fcn.100243e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10065f79
mov esp, ebp
pop ebp
ret