Function at 0x1001b9b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [ecx + 0x10]
mov dword [ebp - 0x10], ecx
push esi
push edi
test al, al
jne 0x1001bd19
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001bd19
cmp dword [ebp + 0x10], 0
je 0x1001bd19
cmp dword [ebp + 0x18], 0
je 0x1001bd19
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1001bd19
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x1001bd19
mov eax, dword [eax + 0x80]
add eax, esi
mov dword [ebp + 0x1c], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1001bcbb
nop word [eax + eax]
lea edx, [eax + esi]
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001ba60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.10010670
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
cmovae eax, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
cmovae eax, esi
mov dword [ebp - 0x14], esi
add eax, edx
cmp dword [ebp - 0x24], 0x10
mov edi, eax
cmovae ecx, esi
xor esi, esi
sub edi, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, eax
cmova edi, esi
test edi, edi
je 0x1001bada
movsx eax, byte [esi + ecx]
push eax
call fcn.1006a32b
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 0x20]
cmp esi, edi
jne 0x1001bab4
mov edi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edi
jmp 0x1001badd
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
mov esi, dword [ebp + 0x10]
cmp eax, 0x10
cmovae ecx, edi
cmp esi, edx
jne 0x1001bc27
mov edx, dword [ebp + 0xc]
sub esi, 4
jb 0x1001bb11
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1001bb16
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1001bb00
cmp esi, 0xfffffffc
je 0x1001bb4a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1001bb43
cmp esi, 0xfffffffd
je 0x1001bb4a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1001bb43
cmp esi, 0xfffffffe
je 0x1001bb4a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1001bb43
cmp esi, 0xffffffff
je 0x1001bb4a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1001bb4a
sbb eax, eax
or eax, 1
jmp 0x1001bb4c
xor eax, eax
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1001bc22
mov edi, dword [edx]
xor ecx, ecx
add edi, esi
mov dword [ebp - 0x18], ecx
mov eax, dword [edi]
test eax, eax
je 0x1001bc1f
nop dword [eax]
lea edx, [esi + 2]
add edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001bb80
sub ecx, esi
mov esi, dword [ebp + 0x18]
cmp esi, ecx
jne 0x1001bbe8
mov eax, dword [ebp + 0x14]
sub esi, 4
jb 0x1001bba9
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1001bbae
add eax, 4
add edx, 4
sub esi, 4
jae 0x1001bb98
cmp esi, 0xfffffffc
je 0x1001bbe2
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x1001bbdb
cmp esi, 0xfffffffd
je 0x1001bbe2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x1001bbdb
cmp esi, 0xfffffffe
je 0x1001bbe2
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x1001bbdb
cmp esi, 0xffffffff
je 0x1001bbe2
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x1001bbe2
sbb eax, eax
or eax, 1
jmp 0x1001bbe4
xor eax, eax
test eax, eax
je 0x1001bc03
inc dword [ebp - 0x18]
add edi, 4
mov esi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
jne 0x1001bb70
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
jmp 0x1001bc2a
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [edx + 0x10]
lea eax, [eax + ecx*4]
add eax, esi
mov dword [edi + 4], eax
mov eax, dword [eax]
mov dword [edi + 8], eax
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
jmp 0x1001bc2d
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x1001bc3c
cmp dword [ecx + 8], 0
jne 0x1001bc8c
add edx, 0x14
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x1c], edx
cmp eax, 0x10
jb 0x1001bc7f
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1001bc6f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bd2d
push ecx
push edi
call fcn.1004ee69
mov ecx, dword [ebp - 0x10]
add esp, 8
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x1001ba40
jmp 0x1001bcbb
cmp eax, 0x10
jb 0x1001bcbb
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1001bcae
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bd2d
push ecx
push edi
call fcn.1004ee69
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp byte [ecx + 0x10], 0
jne 0x1001bd19
mov esi, dword [ecx + 4]
test esi, esi
je 0x1001bd19
cmp dword [ecx + 8], 0
je 0x1001bd19
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push 4
push esi
mov dword [ebp + 8], 0
call edi
test eax, eax
je 0x1001bd19
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 4
push esi
call edi
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.10069ef9
int3