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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1007700c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10078f20], 0
jne 0x10024904
mov ecx, dword [0x1007d3d8]
mov eax, dword [0x10079760]
add eax, 0x2f8
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [0x10078f20], eax
cmp dword [0x10078f38], 0
jne 0x10024924
mov ecx, dword [0x1007d3d8]
push 0x1007defc
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [eax]
mov dword [0x10078f38], eax
cmp dword [0x10079710], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jne 0x100249f0
cmp dword [0x1007d9ac], 0
jne 0x100249f0
push 0x5c
call fcn.10052afe
add esp, 4
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x5c
push esi
call edi
mov ebx, dword [0x10078f38]
push 0x5c
push ebx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [0x1007d9ac], esi
cmp esi, 0x1000
jbe 0x100249ab
test ebx, ebx
je 0x100249ab
lea eax, [ebp - 8]
push eax
push 0x40
push 0x5c
push esi
call edi
push 0x5c
push ebx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x5c
push esi
call edi
mov esi, dword [0x1007d9ac]
mov ecx, dword [0x1007d3d8]
push 0x1007defc
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
cmp ebx, 0x1000
jbe 0x100249e6
cmp esi, 0x1000
jbe 0x100249e6
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call edi
lea eax, [ebp - 0xc]
mov dword [ebx], esi
push eax
push dword [ebp - 8]
push 4
push ebx
call edi
mov dword [0x10079710], 1
mov esi, dword [0x1007d9ac]
mov ebx, fcn.10007980
add esi, 0x40
cmp esi, 0x1000
jbe 0x10024a2b
cmp ebx, 0x1000
jbe 0x10024a2b
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x44
cmp esi, 0x1000
jbe 0x10024a61
cmp ebx, 0x1000
jbe 0x10024a61
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x48
cmp esi, 0x1000
jbe 0x10024a97
cmp ebx, 0x1000
jbe 0x10024a97
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x4c
cmp esi, 0x1000
jbe 0x10024acd
cmp ebx, 0x1000
jbe 0x10024acd
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x50
cmp esi, 0x1000
jbe 0x10024b03
cmp ebx, 0x1000
jbe 0x10024b03
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x54
cmp esi, 0x1000
jbe 0x10024b39
cmp ebx, 0x1000
jbe 0x10024b39
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov esi, dword [0x1007d9ac]
add esi, 0x58
cmp esi, 0x1000
jbe 0x10024b6f
cmp ebx, 0x1000
jbe 0x10024b6f
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], fcn.10007980
push eax
push dword [ebp - 8]
push 4
push esi
call edi
cmp dword [0x1007e738], 0
jne 0x10024bc9
mov ebx, dword [0x10078f20]
cmp ebx, 0x1000
jbe 0x10024bc2
push 0xc
call fcn.10052afe
add esp, 4
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0xc
push esi
call edi
mov ecx, dword [ebx]
mov dword [esi], ecx
mov ax, word [ebx + 4]
mov word [esi + 4], ax
mov al, byte [ebx + 6]
mov byte [esi + 6], al
lea eax, [esi + 7]
sub ebx, eax
mov byte [eax], 0xe9
add ebx, 2
mov dword [eax + 1], ebx
add eax, 0xfffffff9
jmp 0x10024bc4
xor eax, eax
mov dword [0x1007e738], eax
cmp dword [0x1007ee58], 0
jne 0x10024c18
mov esi, dword [0x1007d9ac]
add esi, 0x38
cmp esi, 0x1000
jbe 0x10024c10
mov eax, 0x10024870
cmp eax, 0x1000
jbe 0x10024c10
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0xc]
mov dword [esi], 0x10024870
push eax
push dword [ebp - 8]
push 4
push esi
call edi
jmp 0x10024c12
xor ebx, ebx
mov dword [0x1007ee58], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100521c9
mov esp, ebp
pop ebp
ret