Function at 0x1000e000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x58
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x1000e030
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
cmp dword [ebp + 0x14], 0
je 0x1000e043
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [ebp + 0x18], 0
je 0x1000e056
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebp + 0xc], 0
jne 0x1000e06c
mov dword [ebp - 8], 0x57
jmp 0x1000e531
mov eax, dword [0x10032d54]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [ebp - 0x44]
cmp eax, ecx
je 0x1000e093
mov dword [ebp - 8], 0x10dd
jmp 0x1000e531
cmp dword [0x10032d64], 0
je 0x1000e0ad
mov eax, dword [0x10032d64]
mov dword [ebp - 8], eax
jmp 0x1000e531
cmp dword [ebp + 8], 0
jne 0x1000e0c3
mov dword [ebp - 8], 6
jmp 0x1000e531
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000e0f1
mov dword [ebp - 0xc], 6
mov eax, dword [ebp - 0xc]
mov dword [0x10032d64], eax
mov eax, dword [ebp + 8]
mov dword [0x10032d60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x1000e531
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.1000d470
sub esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.1000d470
sub esp, 8
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x1000e160
cmp dword [0x10032d4c], 0
je 0x1000e15b
jmp 0x1000e1ac
jmp 0x1000e1a4
cmp dword [ebp + 0x14], 0
je 0x1000e172
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
cmp dword [ebp + 0x18], 0
je 0x1000e184
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [esp], 0x18
call fcn.100177b6
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000e21e
mov dword [ebp - 0xc], 8
mov eax, dword [ebp - 0xc]
mov dword [0x10032d64], eax
cmp dword [ebp - 0x14], 0
je 0x1000e1e0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.1000d860
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x10], 0
je 0x1000e1db
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
jmp 0x1000e1e0
cmp dword [ebp - 0x18], 0
je 0x1000e20b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
cmp eax, 0
je 0x1000e204
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.100177e6
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov dword [0x10032d60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x1000e531
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.1000e540
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000e242
mov dword [ebp - 0xc], 8
jmp 0x1000e1a4
cmp dword [ebp + 0x10], 0
je 0x1000e254
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x38
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 8
call fcn.1001ab10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0x1e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jae 0x1000e377
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
xor eax, eax
lea eax, [ebp - 0x38]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.10016530
sub esp, 0x14
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dh, al
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov dl, byte [eax + ecx + 0x38]
and dh, 7
and dl, 0xf8
or dl, dh
mov byte [eax + ecx + 0x38], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov dh, al
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov dl, byte [eax + ecx + 0x38]
and dh, 0x1f
shl dh, 3
and dl, 7
or dl, dh
mov byte [eax + ecx + 0x38], dl
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 8
jb 0x1000e359
jmp 0x1000e377
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call fcn.1000e790
cmp eax, 0
je 0x1000e372
jmp 0x1000e377
jmp 0x1000e29e
jmp 0x1000e37c
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jae 0x1000e3be
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.1000e910
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1000e3a5
jmp 0x1000e3be
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 0x28], eax
jmp 0x1000e37c
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jb 0x1000e3d4
cmp dword [ebp - 0x30], 8
jbe 0x1000e3f2
mov dword [ebp - 0xc], 9
cmp dword [0x10032d4c], 0
je 0x1000e3ed
jmp 0x1000e1ac
jmp 0x1000e1a4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1000e3ff
int3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub eax, ecx
mov cl, al
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1e], cl
mov eax, dword [ebp - 0x28]
mov cl, al
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x36], cl
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.1001a590
mov eax, dword [ebp - 0x28]
mov ecx, 0x1e
sub ecx, dword [ebp - 0x2c]
cmp eax, ecx
jbe 0x1000e455
mov dword [ebp - 0xc], 6
jmp 0x1000e1a4
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x44], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 0x1e]
add eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000dde0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000de20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp eax, 0
jne 0x1000e4e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x1000e1a4
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x10032d58]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov dword [0x10032d58], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x58
pop esi
pop ebp
ret 0x14