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

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x24c79fc
mov dword [esi + 4], edi
push edi
push 1
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], edi
jne 0x248b964
mov ecx, 0x24dd858
call fcn.0247f7e0
mov ebp, dword [esp + 0xa8]
mov ebx, dword [sym.imp.kernel32.dll_VirtualAlloc]
push 0x40
push 0x2000
push ebp
push edi
call ebx
cmp eax, edi
mov dword [esi + 0x2c], eax
jne 0x248b98d
mov ecx, 0x24daf6c
call fcn.0247f7e0
mov eax, dword [esi + 0x2c]
push 0x40
push 0x1000
push ebp
push eax
call ebx
cmp dword [esi + 0x2c], eax
je 0x248b9aa
mov ecx, 0x24daf0c
call fcn.0247f7e0
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], 0xa
mov dword [esi], 0x24cc5a8
mov edi, dword [esi + 0x38]
mov eax, dword [esi + 0x30]
add edi, ebp
cmp edi, eax
jbe 0x248b9d9
mov ecx, 0x24daf34
call fcn.0247f7e0
cmp edi, dword [esi + 0x34]
jbe 0x248ba19
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x3c]
imul edx, ecx
mov eax, 0x51eb851f
mul edx
shr edx, 5
add edi, edx
cmp edi, ecx
jbe 0x248b9f9
mov edi, ecx
mov eax, dword [esi + 0x2c]
push 0x40
push 0x1000
push edi
push eax
call ebx
cmp dword [esi + 0x2c], eax
je 0x248ba16
mov ecx, 0x24daf0c
call fcn.0247f7e0
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x38]
add edi, dword [esi + 0x2c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x40]
add edi, ebp
mov eax, edi
sub eax, ebp
cmp eax, ecx
mov dword [esi + 0x38], edi
je 0x248ba4e
mov ecx, 0x24dad4c
call fcn.0247f7e0
mov ecx, dword [esi + 0x40]
add ecx, ebp
xor ebx, ebx
cmp ebp, ebx
mov dword [esi + 0x40], ecx
je 0x248ba72
mov eax, ecx
cmp eax, ebx
ja 0x248ba6c
mov ecx, 0x24dad88
call fcn.0247f7e0
mov eax, dword [esi + 0x2c]
mov byte [eax], 0
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov edi, 1
mov dword [esi + 0x28], ecx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x24], ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.kernel32.dll_CreateEventA]
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x248babf
mov ecx, 0x24dd81c
call fcn.0247f7e0
mov dword [esi + 0x18], edi
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x248bb2d
mov eax, dword [esp + 0x20]
cmp eax, 2
jne 0x248bb05
cmp dword [esp + 0x14], 4
jae 0x248bb2a
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
cmp eax, 1
jne 0x248bb2d
mov eax, dword [esp + 0x14]
cmp eax, 4
jne 0x248bb28
cmp dword [esp + 0x18], ebx
ja 0x248bb2a
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
jbe 0x248bb2d
mov dword [esi + 0x18], ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10