Function at 0x1008aa20
Capabilities:
Create thread
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f324
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x101ac06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov byte [ebp - 0x164], 0
lea edx, [ebp - 0x118]
push dword [ebp - 0x164]
lea ecx, [ebp - 0x130]
call fcn.1008bcf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x17c]
mov byte [ebp - 0x164], 0
push dword [ebp - 0x164]
call fcn.1008bd60
add esp, 8
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x130]
call fcn.100893a0
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0
call fcn.1008c810
lea ecx, [ebp - 0x160]
call fcn.1008a970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 0x164], 0
mov edx, str.Temp
push dword [ebp - 0x164]
call fcn.1008bcf0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 0x164], 0
mov edx, str.Item
push dword [ebp - 0x164]
call fcn.1008bcf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0x164], 0
mov edx, str.Data
push dword [ebp - 0x164]
call fcn.1008bcf0
add esp, 0xc
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x17c]
call fcn.10089730
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.100893a0
push eax
lea ecx, [ebp - 0x194]
call fcn.10089730
lea ecx, [ebp - 0x17c]
call fcn.1008c810
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1f4]
call fcn.10089730
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.100893a0
push eax
lea ecx, [ebp - 0x17c]
call fcn.10089730
lea ecx, [ebp - 0x1f4]
call fcn.1008c810
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x20c]
call fcn.10089730
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.100893a0
push eax
lea ecx, [ebp - 0x148]
call fcn.10089730
lea ecx, [ebp - 0x20c]
call fcn.1008c810
lea ecx, [ebp - 0x17c]
call fcn.1008c810
lea ecx, [ebp - 0x194]
call fcn.1008c810
lea ecx, [ebp - 0x1ac]
call fcn.1008c810
lea ecx, [ebp - 0x1c4]
call fcn.1008c810
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x10
call fcn.1008c810
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1008ac94
sub eax, 1
jne 0x1008aca3
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x11
call fcn.1008a400
call fcn.1008b370
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x100867e0
push 0
push 0
mov dword [0x1032e5dc], eax
mov dword [0x10327c44], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0xe609e8], 5
jne 0x1008aca3
cmp dword [0x8128ac4], 0
jne 0x1008aca3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x13
call fcn.1008a870
lea ecx, [ebp - 0x148]
call fcn.1008c810
lea ecx, [ebp - 0x160]
call fcn.1008c810
lea ecx, [ebp - 0x130]
call fcn.1008c810
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f4653
mov esp, ebp
pop ebp
ret 0xc