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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101286a4
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x1014200c]
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 - 0x20c], 0
lea edx, [ebp - 0x118]
push dword [ebp - 0x20c]
lea ecx, [ebp - 0x148]
call fcn.10087ca0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x20c], 0
push dword [ebp - 0x20c]
call fcn.10087d10
add esp, 8
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x148]
call fcn.100859d0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0
call fcn.10089170
lea ecx, [ebp - 0x1d8]
call fcn.10086f80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 0x20c], 0
mov edx, str.Temp
push dword [ebp - 0x20c]
call fcn.10087ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190]
mov byte [ebp - 0x20c], 0
mov edx, str.Item
push dword [ebp - 0x20c]
call fcn.10087ca0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x20c], 0
mov edx, str.Data
push dword [ebp - 0x20c]
call fcn.10087ca0
add esp, 0xc
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x130]
call fcn.10085d60
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.100859d0
push eax
lea ecx, [ebp - 0x160]
call fcn.10085d60
lea ecx, [ebp - 0x130]
call fcn.10089170
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10085d60
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.100859d0
push eax
lea ecx, [ebp - 0x130]
call fcn.10085d60
lea ecx, [ebp - 0x1f0]
call fcn.10089170
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x208]
call fcn.10085d60
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.100859d0
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10085d60
lea ecx, [ebp - 0x208]
call fcn.10089170
lea ecx, [ebp - 0x130]
call fcn.10089170
lea ecx, [ebp - 0x160]
call fcn.10089170
lea ecx, [ebp - 0x178]
call fcn.10089170
lea ecx, [ebp - 0x190]
call fcn.10089170
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x10
call fcn.10089170
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1008731a
sub eax, 1
jne 0x10087329
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x11
call fcn.10086a10
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100876f0
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x100827b0
push 0
push 0
mov dword [0x102c250c], eax
mov dword [0x102bbb74], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0xe609e8], 5
jne 0x10087329
cmp dword [0x8128ac4], 0
jne 0x10087329
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x13
call fcn.10086ea0
lea ecx, [ebp - 0x1c0]
call fcn.10089170
lea ecx, [ebp - 0x1d8]
call fcn.10089170
lea ecx, [ebp - 0x148]
call fcn.10089170
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.100d9dfe
mov esp, ebp
pop ebp
ret 0xc