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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x1006600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3fc], 0
push 0x70
mov dword [ebp - 0x400], edi
call fcn.10035c4b
mov esi, eax
add esp, 4
mov dword [ebp - 0x3e0], esi
test esi, esi
jne 0x1000e7d3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029cb8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x1008cd50], 0
jne 0x1000e7f1
push 0x1008cd5c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1008cd50], 1
push 0x1008cd5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
push 0x58
push 0
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [edi + 4]
lea edi, [esi + 0x10]
push edi
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.1002cc40
mov ecx, dword [esi]
add esp, 0xc
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.1000dd80
mov ecx, dword [esi + 4]
mov edi, eax
mov dword [esi], edi
call fcn.1000dd80
mov dword [esi + 4], eax
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x3dc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
call fcn.10001070
test eax, eax
je 0x1000e8d9
xor esi, esi
push ecx
push 0
push edi
mov edx, edi
lea ecx, [ebp - 0x3d0]
call fcn.10001100
add esp, 0xc
test eax, eax
je 0x1000e8cd
mov ecx, dword [eax + 0x11c]
cmp ecx, 0x105
je 0x1000e8cd
cmp ecx, 0x102
je 0x1000e8cd
cmp ecx, 0x104
je 0x1000e8cd
mov eax, dword [eax + 0x128]
add esi, eax
add edi, eax
cmp esi, 5
jb 0x1000e888
mov dword [ebp - 0x3dc], esi
mov esi, dword [ebp - 0x3e0]
mov eax, dword [ebp - 0x3dc]
mov edx, 0x102
mov ecx, dword [esi]
mov dword [esi + 8], eax
call fcn.1000e6c0
mov ecx, dword [esi]
mov edx, 0x103
mov dword [esi + 0x68], eax
call fcn.1000e6c0
cmp dword [esi + 8], 5
mov dword [esi + 0x6c], eax
jb 0x1000e9c2
cmp dword [esi + 0x68], 0
je 0x1000e918
test eax, eax
jne 0x1000e9c2
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x3f4], eax
mov eax, dword [esi]
add edi, eax
mov dword [ebp - 0x3f4], eax
cmp edi, 0x80000000
jae 0x1000e940
mov edi, 1
jmp 0x1000e946
sub edi, 0x7fff0000
add eax, ecx
cmp eax, 0x80000000
jae 0x1000e956
add eax, 0x7ff80000
jmp 0x1000e95b
mov eax, 0xfff80000
mov edx, eax
mov dword [ebp - 0x3d4], eax
mov ecx, edi
call fcn.1000e290
mov ecx, eax
test ecx, ecx
jne 0x1000e99e
push dword [ebp - 0x3d4]
mov ecx, dword [ebp - 0x3f4]
mov edx, edi
call fcn.1000ddf0
mov edx, dword [ebp - 0x3d4]
add esp, 4
mov ecx, edi
mov dword [0x1008cd58], eax
call fcn.1000e290
mov ecx, eax
test ecx, ecx
je 0x1000e9bf
mov dword [ecx + 0x6c], 0
mov eax, dword [0x1008cd48]
mov dword [ecx + 0x70], eax
mov eax, dword [0x1008cd48]
test eax, eax
je 0x1000e9b9
mov dword [eax + 0x6c], ecx
mov dword [0x1008cd48], ecx
mov dword [esi + 0xc], ecx
lea edx, [ebp - 0x3dc]
mov dword [ebp - 0x3f4], 0
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3dc], 0
call fcn.1000e390
test eax, eax
je 0x1000ee4b
push dword [ebp - 0x3dc]
mov ecx, esi
call fcn.1000e460
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x3f0], eax
je 0x1000ee38
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x3dc]
push eax
push 0x40
push dword [esi + 8]
mov dword [ebp - 0x3dc], 0
push dword [esi]
mov dword [ebp - 0x3e8], 0
call edi
test eax, eax
je 0x1000edcb
lea eax, [ebp - 0x3e8]
push eax
push 0x40
push 0x74
push dword [esi + 0xc]
call edi
test eax, eax
je 0x1000eda6
mov edi, dword [esi + 0xc]
xor edx, edx
mov eax, dword [esi + 8]
add edi, 0x2c
mov dword [ebp - 0x3d8], edi
test eax, eax
je 0x1000ea8b
mov eax, dword [esi]
mov cl, byte [edx + eax]
mov byte [edx + edi], cl
mov eax, dword [esi + 0xc]
mov byte [eax + edx + 0x4c], cl
inc edx
mov eax, dword [esi + 8]
cmp edx, eax
jb 0x1000ea74
cmp dword [esi + 0x68], 0
jne 0x1000ea9e
cmp dword [esi + 0x6c], 0
jne 0x1000ea9e
add edi, eax
jmp 0x1000eba6
mov eax, dword [esi]
lea ecx, [ebp - 0x3d0]
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3ec], 0
call fcn.10001070
test eax, eax
je 0x1000eba6
mov ecx, edi
mov dword [ebp - 0x3d4], edi
nop dword [eax + eax]
push ecx
push 0
push ecx
mov edx, ecx
lea ecx, [ebp - 0x3d0]
call fcn.10001100
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000eba0
mov eax, dword [edi + 0x11c]
cmp eax, 0x102
jne 0x1000eb5c
cmp dword [edi + 0x144], 1
jne 0x1000eb75
mov al, byte [edi + 0x141]
cmp al, 0x74
je 0x1000eb12
cmp al, 0x75
jne 0x1000eb75
mov eax, dword [ebp - 0x3d4]
mov esi, dword [ebp - 0x3d4]
mov dl, byte [eax + 1]
mov byte [eax], 0xf
mov cl, byte [edi + 0x141]
mov eax, dword [edi + 0x144]
add cl, 0x10
mov byte [esi + eax], cl
mov ecx, esi
mov esi, dword [ebp - 0x3e0]
movzx eax, dl
mov edx, dword [ebp - 0x3e4]
sub eax, ecx
add eax, dword [edi + 0x144]
add edx, 0xfffffffe
add eax, edx
lea edi, [ecx + 6]
mov dword [ecx + 2], eax
jmp 0x1000eba6
cmp eax, 0x103
jne 0x1000eb75
cmp dword [edi + 0x144], 1
jne 0x1000eb75
cmp byte [edi + 0x141], 0xe8
je 0x1000ebe0
mov edx, dword [ebp - 0x3ec]
mov eax, dword [edi + 0x128]
add edx, eax
mov ecx, dword [ebp - 0x3d4]
add ecx, eax
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 0x3d4], ecx
cmp edx, 5
jb 0x1000ead0
mov edi, dword [ebp - 0x3d8]
mov ecx, dword [esi]
lea edx, [edi + 5]
add ecx, dword [esi + 8]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x3d8], ecx
sub ecx, edx
cmp edx, dword [ebp - 0x3d8]
cmova ecx, eax
mov eax, dword [ebp - 0x3d8]
cmp edx, eax
cmovbe edx, edx
sub eax, edx
cmp ecx, 0x7fff0000
ja 0x1000ec10
mov byte [edi], 0xe9
mov dword [edi + 1], eax
jmp 0x1000ec23
mov eax, dword [edi + 0x170]
sub eax, dword [edi + 0x120]
sub eax, dword [ebp - 0x3d8]
mov ecx, dword [ebp - 0x3d4]
add eax, ecx
add eax, dword [ebp - 0x3e4]
mov dword [ecx + 1], eax
mov eax, dword [edi + 0x144]
lea edi, [ecx + 4]
add edi, eax
jmp 0x1000eba6
mov ecx, dword [ebp - 0x3d8]
lea eax, [edi + 6]
mov word [edi], 0x25ff
mov dword [edi + 2], eax
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov ecx, edx
mov edi, dword [esi]
sub ecx, edi
mov eax, edi
mov dword [ebp - 0x3d4], edx
sub eax, edx
cmp edx, edi
cmovae eax, ecx
cmp eax, 0x7fff0000
jbe 0x1000ed00
mov edx, dword [esi + 0xc]
mov edi, dword [ebp - 0x3d4]
add edx, 0xc
mov dword [ebp - 0x3e4], edx
mov ecx, edi
add edx, 5
mov eax, edx
sub ecx, edx
sub eax, edi
cmp edx, edi
cmova ecx, eax
cmovbe edx, edx
mov eax, edi
sub eax, edx
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e4]
lea edx, [eax + 1]
cmp ecx, 0x7fff0000
ja 0x1000ec93
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x3e0]
mov dword [edx], eax
jmp 0x1000eca1
mov byte [edx], 0x25
lea edx, [eax + 6]
mov byte [eax], 0xff
mov dword [eax + 2], edx
mov dword [edx], edi
mov eax, dword [esi + 0xc]
sub edx, eax
sub edx, 8
add eax, 0xc
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edi, dword [esi]
mov ecx, dword [esi + 0xc]
add ecx, 0xc
mov dword [ebp - 0x3d8], ecx
lea edx, [edi + 5]
mov eax, edx
sub eax, ecx
sub ecx, edx
cmp edx, dword [ebp - 0x3d8]
cmova ecx, eax
mov eax, dword [ebp - 0x3d8]
cmp edx, eax
cmovbe edx, edx
sub eax, edx
cmp ecx, 0x7fff0000
ja 0x1000ecf8
mov byte [edi], 0xe9
mov dword [edi + 1], eax
jmp 0x1000ed48
mov ecx, dword [ebp - 0x3d8]
jmp 0x1000ed3b
mov ecx, dword [ebp - 0x3d4]
lea edx, [edi + 5]
mov eax, edx
sub eax, ecx
sub ecx, edx
cmp edx, dword [ebp - 0x3d4]
cmova ecx, eax
mov eax, dword [ebp - 0x3d4]
cmp edx, eax
cmovbe edx, edx
sub eax, edx
cmp ecx, 0x7fff0000
ja 0x1000ed35
mov byte [edi], 0xe9
mov dword [edi + 1], eax
jmp 0x1000ed48
mov ecx, dword [ebp - 0x3d4]
lea eax, [edi + 6]
mov dword [eax], ecx
mov dword [edi + 2], eax
mov word [edi], 0x25ff
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
cmp dword [eax], 0
je 0x1000ed79
lea ecx, [eax + 0x2c]
mov eax, dword [ebp - 0x400]
mov eax, dword [eax]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
push dword [esi + 8]
add eax, 0x2c
push eax
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x3e8]
push eax
push dword [ebp - 0x3e8]
push 0x74
push dword [esi + 0xc]
call edi
push dword [esi + 8]
push dword [esi]
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp - 0x3dc]
push dword [esi + 8]
push dword [esi]
call edi
mov ecx, dword [esi + 0xc]
cmp dword [ecx], 0
je 0x1000eddf
mov dword [ebp - 0x3fc], 1
jmp 0x1000ee38
mov edx, dword [ecx + 0x6c]
test edx, edx
je 0x1000edec
mov eax, dword [ecx + 0x70]
mov dword [edx + 0x70], eax
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x1000edf9
mov eax, dword [ecx + 0x6c]
mov dword [edx + 0x6c], eax
cmp dword [0x1008cd48], ecx
jne 0x1000ee09
mov eax, dword [ecx + 0x70]
mov dword [0x1008cd48], eax
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x6c], 0
mov eax, dword [0x1008cd58]
mov dword [ecx + 0x70], eax
mov eax, dword [0x1008cd58]
test eax, eax
je 0x1000ee2b
mov dword [eax + 0x6c], ecx
mov dword [0x1008cd58], ecx
mov dword [esi + 0xc], 0
call fcn.1000e300
push dword [ebp - 0x3f4]
call fcn.10035c30
add esp, 4
push esi
call fcn.10035c30
add esp, 4
push 0x1008cd5c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3fc]
xor ecx, ebp
pop edi
pop esi
call fcn.10029cb8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret