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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1009100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10098a48]
test eax, eax
push ebx
mov ebx, ecx
mov ecx, 1
push esi
cmove eax, ecx
push edi
mov dword [0x10098a48], eax
call fcn.10023cd0
call fcn.1001cd80
mov ecx, dword [0x1009784c]
test ecx, ecx
jne 0x10025319
mov dword [0x10097154], 0x32
jmp 0x1002534d
cmp ecx, 1
jne 0x1002532a
mov dword [0x10097154], 6
jmp 0x1002534d
cmp ecx, 2
jne 0x1002533b
mov dword [0x10097154], 5
jmp 0x1002534d
mov eax, dword [0x10097154]
xor edx, edx
cmp ecx, 3
cmove eax, edx
mov dword [0x10097154], eax
call fcn.10012510
test eax, eax
je 0x100253af
push 0x75
mov dword [0x10097ae8], 0x10012820
call fcn.10012820
cwde
shr eax, 0x10
test eax, eax
je 0x100253a8
cmp byte [0x10099600], 0
je 0x1002538f
cmp dword [0x10099604], 0
je 0x100253af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10099604], eax
ja 0x100253af
xor eax, eax
mov byte [0x10099600], 1
cmp dword [0x10096f68], eax
sete al
mov dword [0x10096f68], eax
jmp 0x100253af
mov byte [0x10099600], 0
call fcn.1001ac90
call fcn.1001a9c0
mov ecx, ebx
call fcn.1001ae00
call fcn.100225a0
mov ecx, ebx
call fcn.1001ca30
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
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 0x10025482
cmp dword [0x10096f6c], 0
jne 0x1002544b
cmp dword [0x10093730], 0
jne 0x1002544b
cmp dword [0x10098e98], 0
jne 0x1002544b
cmp dword [0x10098118], 0
jne 0x1002544b
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100254bc
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 0x100254b4
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100254bc
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 0x100254b7
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x108
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100254bc
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 [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10025517
cmp dword [0x10097800], 0
jne 0x100254e7
cmp dword [0x100980e0], 0
je 0x10025517
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x188
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x10025551
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x10025545
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x188
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x10025551
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.1001f940
mov ecx, ebx
call fcn.1001e7e0
mov ecx, ebx
call fcn.1001f330
mov ecx, ebx
call fcn.1001ed80
call fcn.1001efd0
call fcn.1001f0d0
call fcn.10021970
call fcn.10021d10
call fcn.10022040
call fcn.10021860
call fcn.10022830
cmp dword [0x10096fa0], 0
je 0x10025646
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10025646
push 0x20
mov dword [0x10097ae8], 0x10012820
call fcn.10012820
cwde
shr eax, 0x10
test eax, eax
je 0x1002563f
cmp byte [0x10099358], 0
je 0x100255fa
cmp dword [0x1009935c], 0
je 0x10025646
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [0x1009935c]
inc ecx
cmp ecx, eax
ja 0x10025646
jmp 0x10025600
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x10099358], 1
call edi
mov ecx, dword [0x100973f0]
mov dword [0x1009935c], eax
mov eax, dword [0x10093784]
add eax, 0x160
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [eax + 2]
cmp edi, 0x1000
jbe 0x10025681
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 3
jmp 0x10025675
mov byte [0x10099358], 0
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x160
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [eax + 2]
cmp edi, 0x1000
jbe 0x10025681
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.100221b0
call fcn.10022260
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x174
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x1002572a
cmp dword [0x10098e64], 1
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
mov edx, dword [ecx]
jne 0x100256fc
add eax, 0x1c
push eax
call dword [edx + 4]
mov ecx, dword [0x100973f0]
cmp dword [eax], 0
mov edx, dword [ecx]
mov eax, dword [0x10093784]
je 0x100256fc
add eax, 0x174
push eax
call dword [edx + 4]
lea edi, [eax + 3]
cmp edi, 0x1000
jbe 0x1002572a
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0x66
jmp 0x1002571e
add eax, 0x174
push eax
call dword [edx + 4]
lea edi, [eax + 3]
cmp edi, 0x1000
jbe 0x1002572a
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.10022c40
call fcn.10020100
call fcn.10020040
cmp dword [0x1009739c], 0
jle 0x1002578b
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1002578b
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100257c5
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push edi
call esi
mov byte [edi], 0xcc
jmp 0x100257b9
mov ecx, dword [0x100973f0]
mov eax, dword [0x10093784]
add eax, 0x148
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
cmp edi, 0x1000
jbe 0x100257c5
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.10022a90
call fcn.1001f1d0
call fcn.10022b80
call fcn.100226e0
call fcn.100223d0
call fcn.10022470
call fcn.100239c0
call fcn.100236d0
mov ecx, ebx
call fcn.10023a50
call fcn.10024ed0
call fcn.10022d80
call fcn.10023500
call fcn.10023180
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062dd9
mov esp, ebp
pop ebp
ret