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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d98b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [0x10185e08], 0
mov dword [0x10185e04], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx + eax + 0x28]
add eax, 0x400000
cmp eax, 0x8245bc
ja 0x1008018a
je 0x10080133
cmp eax, 0x667bf0
ja 0x10080088
je 0x10080072
cmp eax, 0x5c6fd0
ja 0x10080058
je 0x100801e9
cmp eax, 0x5c1e70
je 0x10080042
cmp eax, 0x5c2130
jne 0x1008026a
mov dword [0x10185e04], 0x1010033
mov byte [0x10185e0b], 0
jmp 0x1008027f
mov dword [0x10185e04], 0x10033
mov byte [0x10185e0b], 0
jmp 0x1008027f
cmp eax, 0x666ba0
jne 0x1008026a
mov dword [0x10185e04], 0x1010056
jmp 0x10080278
mov dword [0x10185e04], 0x10056
mov byte [0x10185e0b], 0
jmp 0x1008027f
cmp eax, 0x82457c
ja 0x10080128
je 0x100800a7
cmp eax, 0x667c40
je 0x10080112
cmp eax, 0x824570
jne 0x1008026a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x10185e04], 0x15553
push 1
push esi
mov byte [0x10185e0b], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], esi
call edi
test eax, eax
setne byte [ebp - 0x18]
mov bl, byte [esi]
mov dword [ebp - 4], 0
test eax, eax
je 0x100800fe
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
call edi
cmp bl, 0xe9
setne al
dec al
and al, 0x48
mov byte [0x10185e0a], al
jmp 0x1008027f
mov dword [0x10185e04], 0x1010056
mov byte [0x10185e0b], 0
jmp 0x1008027f
cmp eax, 0x8245b0
jne 0x1008026a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
push eax
push 0x40
mov esi, 0x406a20
mov dword [0x10185e04], 0x14553
push 1
push esi
mov byte [0x10185e0b], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne byte [ebp - 0x28]
mov bl, byte [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x100800fe
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
jmp 0x100800f9
cmp eax, 0xa402ed
ja 0x100801f8
je 0x10080063
cmp eax, 0x85ec4a
ja 0x100801de
je 0x1008026e
sub eax, 0x8252fc
je 0x100801c8
sub eax, 0x40
jne 0x1008026a
mov dword [0x10185e04], 0x1014553
mov byte [0x10185e0b], al
jmp 0x1008027f
mov dword [0x10185e04], 0x1015553
mov byte [0x10185e0b], 0
jmp 0x1008027f
cmp eax, 0x9912ed
jne 0x1008026a
mov dword [0x10185e04], 0x1010033
jmp 0x10080278
cmp eax, 0xd0d011
ja 0x10080263
je 0x10080247
cmp eax, 0xc965ad
je 0x1008022b
cmp eax, 0xd0af06
jne 0x1008026a
mov dword [0x10185e04], 0x1015545
mov word [0x10185e08], 2
mov byte [0x10185e0b], 0
jmp 0x1008027f
mov dword [0x10185e04], 0x15549
mov word [0x10185e08], 0x400
mov byte [0x10185e0b], 0
jmp 0x1008027f
mov dword [0x10185e04], 0x15549
mov word [0x10185e08], 0x700
mov byte [0x10185e0b], 0
jmp 0x1008027f
cmp eax, 0xd3c3db
je 0x1008026e
xor al, al
jmp 0x10080281
mov dword [0x10185e04], 0x30053
mov byte [0x10185e0b], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f63
mov esp, ebp
pop ebp
ret