Function at 0x10008ffe
Capabilities:
Create thread
Terminate process

Disassembly:
push 0x80
mov eax, 0x1000ccd1
call fcn.1000b995
mov ecx, dword [0x100158f4]
xor esi, esi
mov byte [ebp - 0x7d], 0
cmp ecx, esi
je 0x10009031
mov edi, ecx
call fcn.10009755
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [0x100158f4], esi
mov ecx, dword [0x100158f8]
cmp ecx, esi
je 0x10009075
call fcn.10009f6c
test eax, eax
je 0x10009057
mov ecx, dword [0x100158f8]
push esi
call fcn.10009f6c
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov ecx, dword [0x100158f8]
mov edi, ecx
cmp ecx, esi
je 0x1000906f
call fcn.1000a5ae
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [0x100158f8], esi
push 0x24
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x100090ae
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.pdfshell_prev
call fcn.1000b14a
mov ecx, dword [ebp - 0x88]
call fcn.1000980f
jmp 0x100090b0
xor eax, eax
mov dword [0x100158f4], eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], esi
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
xor eax, eax
mov edi, str._b__id
push edi
mov dword [ebp - 4], 1
mov word [ebp - 0x7c], ax
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.MSVCR100.dll_swprintf_s]
push eax
mov ebx, 0x1001028c
push ebx
lea eax, [ebp - 0x60]
push 0x14
push eax
call edi
call fcn.1000962b
push eax
push ebx
lea eax, [ebp - 0x38]
push 0x14
push eax
call edi
lea eax, [ebp - 0x60]
push eax
call esi
add esp, 0x24
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
mov edi, 0x10010288
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
lea eax, [ebp - 0x38]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
mov edi, str.__if
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
mov ecx, dword [0x100158f4]
call fcn.1000964d
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
mov dword [ebp - 0x88], ebx
cmp byte [0x10015902], bl
je 0x100091a3
mov edi, str.__CR
push edi
mov dword [ebp - 0x88], 1
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.1000b14a
push 0x34
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x100091e0
sub esp, 0x1c
lea eax, [ebp - 0x7c]
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.1000b14a
push dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
call fcn.1000a796
jmp 0x100091e2
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x100158f8], eax
cmp dword [0x100158f4], ebx
je 0x10009290
cmp eax, ebx
je 0x10009290
mov ecx, eax
call fcn.1000b735
test al, al
je 0x10009290
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x1000923d
mov ecx, dword [0x100158f4]
call fcn.1000964d
mov ecx, dword [ebp - 0x84]
push eax
call fcn.1000b14a
jmp 0x1000923f
xor eax, eax
mov ecx, dword [0x100158f4]
push 1
mov byte [ebp - 4], 1
mov dword [0x100158fc], eax
call fcn.1000b14a
test al, al
je 0x10009290
mov ecx, dword [0x100158f4]
push 0x2710
push ebx
push ebx
push 6
call fcn.100096b1
mov esi, eax
cmp esi, ebx
je 0x10009290
cmp dword [esi + 4], ebx
jne 0x10009285
mov ecx, dword [0x100158f4]
push 1
call fcn.100096a0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 0x7d], 1
push ebx
push ebx
push ebx
push 0x10008e8c
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x7c]
mov dword [0x10015904], eax
call fcn.1000b14a
mov al, byte [ebp - 0x7d]
call fcn.1000ba18
ret