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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a306c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10250454], 3
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1003ccf9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x7d3c6c
or bl, 0xff
call esi
test eax, eax
je 0x1003ccf7
mov eax, 0x7d3c6c
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7d3c6c
call esi
test eax, eax
jne 0x1003ccf9
call edi
cmp dword [0x10250378], 1
jne 0x1003ce79
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x87500f
call esi
mov eax, 0x87500f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x87500f
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x8743ff
mov bl, 7
call esi
test eax, eax
je 0x1003cd72
mov eax, 0x8743ff
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x8743ff
call esi
test eax, eax
jne 0x1003cd74
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x874d5a
mov bl, 7
call esi
test eax, eax
je 0x1003cdb2
mov eax, 0x874d5a
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x874d5a
call esi
test eax, eax
jne 0x1003cdb4
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x877edf
mov bl, 6
call esi
test eax, eax
je 0x1003cdf2
mov eax, 0x877edf
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x877edf
call esi
test eax, eax
jne 0x1003cdf4
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x878b5f
call esi
mov eax, 0x878b5f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x878b5f
call esi
push 0x7e4d16
push 0x7e4ca4
push 0xe9
call fcn.100c9b20
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
xor bl, bl
push eax
push 0x40
push 1
push 0x7e4cba
call esi
test eax, eax
je 0x1003ce77
mov eax, 0x7e4cba
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7e4cba
call esi
test eax, eax
jne 0x1003ce79
call edi
cmp dword [0x1025037c], 1
jne 0x1003cebe
lea eax, [ebp - 8]
push eax
push 0x40
push 0x198
push 0x7a8330
call esi
push 0x198
push 0x90
push 0x7a8330
call fcn.1013beb0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x198
push 0x7a8330
call esi
cmp dword [0x10250380], 1
jne 0x1003cef5
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x57655b
call esi
mov eax, 0x57655b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x57655b
call esi
cmp dword [0x10250384], 1
jne 0x1003cfe9
push 0x832897
push 0x832862
push 0xe9
call fcn.100c9b20
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 0x25
push 0x7c5a68
call esi
mov eax, 0x7c5a68
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov dword [eax + 0xc], 0x90909090
mov dword [eax + 0x10], 0x90909090
mov dword [eax + 0x14], 0x90909090
mov dword [eax + 0x18], 0x90909090
mov dword [eax + 0x1c], 0x90909090
mov dword [eax + 0x20], 0x90909090
mov byte [eax + 0x24], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x25
push 0x7c5a68
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 0x159
push 0x7c4430
call esi
push 0x159
push 0x90
push 0x7c4430
call fcn.1013beb0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x159
push 0x7c4430
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x7c5ad2
call esi
mov eax, 0x7c5ad2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x7c5ad2
call esi
cmp dword [0x10250388], 1
jne 0x1003d025
lea eax, [ebp - 8]
push eax
push 0x40
push 0x30
push 0x62f876
call esi
push 0x30
push 0x90
push 0x62f876
call fcn.1013beb0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x30
push 0x62f876
call esi
cmp dword [0x1025038c], 1
jne 0x1003d064
push 5
call fcn.100edd81
push 5
mov edx, eax
mov ecx, 0xd46c8c
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
call fcn.100c9130
push 0x1003d280
push 0x835234
push 0xe9
call fcn.100c9b20
add esp, 0x14
cmp dword [0x10250390], 1
jne 0x1003d0ac
push 0x836a23
push 0x8369fa
push 0xe9
call fcn.100c9b20
push 0x7d36bf
push 0x7d36b8
push 0xe9
call fcn.100c9b20
push 0x7d3fa3
push 0x7d3f9c
push 0xe9
call fcn.100c9b20
add esp, 0x24
cmp dword [0x10250394], 1
jne 0x1003d0e0
push 0x856fd2
push 0x856faa
push 0xe9
call fcn.100c9b20
push 0x7d3725
push 0x7d371e
push 0xe9
call fcn.100c9b20
add esp, 0x18
cmp dword [0x10250374], 1
jne 0x1003d12e
push 0x1003d250
push 0x777008
push 0xe9
call fcn.100c9b20
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x776fe4
call esi
mov eax, 0x776fe4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x776fe4
call esi
cmp dword [0x10250354], 2
jne 0x1003d1eb
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x85b6ac
call esi
mov eax, 0x85b6ac
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x85b6ac
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x7d4001
or bl, 0xff
call esi
test eax, eax
je 0x1003d1a8
mov eax, 0x7d4001
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7d4001
call esi
test eax, eax
jne 0x1003d1aa
call edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x7d4110
or bl, 0xff
call esi
test eax, eax
je 0x1003d1e9
mov eax, 0x7d4110
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7d4110
call esi
test eax, eax
jne 0x1003d1eb
call edi
cmp byte [0x1025044e], 1
jne 0x1003d235
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x7d3d57
or bl, 0xff
call esi
test eax, eax
je 0x1003d233
mov eax, 0x7d3d57
mov byte [eax], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 1
push 0x7d3d57
call esi
test eax, eax
jne 0x1003d235
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ed713
mov esp, ebp
pop ebp
ret