Function at 0x10027ae0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a0b9
mov eax, dword fs:[0]
push eax
sub esp, 0x8d8
mov eax, dword [0x100764f8]
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
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x83c]
push 0xf
push str.addinstartanaly
mov dword [ebp - 0x8a0], edi
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], 0
call fcn.10006e60
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.100288e0
mov edx, dword [ebp - 0x828]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10027b9f
mov ecx, dword [ebp - 0x83c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027b95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100280ef
push edx
push ecx
call fcn.1003465a
add esp, 8
mov eax, dword [edi]
mov ecx, edi
push esi
mov eax, dword [eax + 0x14]
call eax
test eax, eax
jne 0x10027bb9
mov dword [edi + 4], 1
jmp 0x100280cf
mov eax, dword [edi + 0x28]
test eax, eax
je 0x10027bcd
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x94], 8
lea eax, [edi + 0x80]
jb 0x10027bde
mov eax, dword [eax]
push eax
push 0x1005f57c
push dword [0x10076010]
push SysReAllocString
call fcn.10016ad0
push 0
call fcn.1003a073
push eax
push str.aidtasktm
push dword [0x10076010]
mov dword [ebp - 0x894], edx
push SysReAllocString
call fcn.100168c0
add esp, 0x24
mov dword [ebp - 0x82c], 0
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], 0
push 0xe
push str.addinstartdown
call fcn.10006e60
lea eax, [ebp - 0x83c]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.100288e0
mov edx, dword [ebp - 0x828]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10027c9d
mov ecx, dword [ebp - 0x83c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027c93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100280f4
push edx
push ecx
call fcn.1003465a
add esp, 8
mov dword [ebp - 0x890], 0
mov dword [ebp - 0x88c], 0
mov dword [ebp - 0x888], 0
lea eax, [ebp - 0x890]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.10027890
test eax, eax
jne 0x100280c1
mov ecx, dword [ebp - 0x88c]
sub ecx, dword [ebp - 0x890]
je 0x100280c1
push 0xf
push str.addindownfinish
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], al
call fcn.10006e60
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.100288e0
lea ecx, [ebp - 0x83c]
mov byte [ebp - 4], 2
call fcn.10003f80
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x854]
call fcn.100036f0
cmp dword [edi + 0xac], 8
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 4
jb 0x10027d93
mov ecx, dword [edi + 0x98]
push dword [edi + 0xa8]
push ecx
lea ecx, [ebp - 0x854]
call fcn.10006ce0
cmp dword [ebp - 0x840], 8
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.100171e0
add esp, 8
test eax, eax
jne 0x10027de4
lea ecx, [ebp - 0x854]
mov dword [edi + 4], 0xb
call fcn.10003fd0
jmp 0x100280c4
push str.OfficeTeam.Installer.dll
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.10001160
cmp dword [ebp - 0x870], 8
lea eax, [ebp - 0x884]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x884]
push eax
call fcn.10014a60
add esp, 0x10
test eax, eax
jne 0x10027e43
lea ecx, [ebp - 0x884]
mov dword [edi + 4], 0xc
call fcn.10003fd0
lea ecx, [ebp - 0x854]
call fcn.10003fd0
jmp 0x100280c4
push 0x12
push str.addinrundll32front
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], 0
call fcn.10006e60
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.100288e0
lea ecx, [ebp - 0x83c]
call fcn.10003f80
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [ebp - 0x840], 8
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
push 0x400
lea eax, [ebp - 0x824]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.10037070
lea eax, [edi + 0xb0]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10027f16
mov eax, dword [eax]
cmp dword [ebp - 0x870], 8
lea esi, [ebp - 0x884]
push eax
cmovae esi, dword [ebp - 0x884]
lea ecx, [ebp - 0x89c]
call fcn.100068d0
push eax
push esi
lea eax, [ebp - 0x824]
push str.rundll32.exe___s__StartInstall_2___s____
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x82c], 0
lea ecx, [ebp - 0x83c]
mov dword [ebp - 0x828], 0xf
mov byte [ebp - 0x83c], 0
push 0x13
push str.addinrundll32front2
call fcn.10006e60
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.100288e0
lea ecx, [ebp - 0x83c]
call fcn.10003f80
push 0x44
lea eax, [ebp - 0x8e4]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.10037070
add esp, 0xc
lea eax, [ebp - 0x834]
xorps xmm0, xmm0
movups xmmword [ebp - 0x834], xmm0
push eax
lea eax, [ebp - 0x8e4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x824]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1002803d
push 0x15
push str.addinrundll32backsucc
lea ecx, [ebp - 0x86c]
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0xf
mov byte [ebp - 0x86c], 0
call fcn.10006e60
lea eax, [ebp - 0x86c]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.100288e0
lea ecx, [ebp - 0x86c]
call fcn.10003f80
jmp 0x1002803d
push 0x12
push str.createprocessafter
lea ecx, [ebp - 0x86c]
mov dword [ebp - 4], 7
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0xf
mov byte [ebp - 0x86c], 0
call fcn.10006e60
lea eax, [ebp - 0x86c]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.100288e0
lea ecx, [ebp - 0x86c]
call fcn.10003f80
lea ecx, [ebp - 0x89c]
call fcn.10004680
lea ecx, [ebp - 0x884]
call fcn.10003fd0
lea ecx, [ebp - 0x854]
call fcn.10003fd0
lea ecx, [ebp - 0x890]
call fcn.10014390
mov eax, 1
jmp 0x100280d1
mov dword [edi + 4], eax
lea ecx, [ebp - 0x890]
call fcn.10014390
xor eax, eax
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.10034676
mov esp, ebp
pop ebp
ret 4
call fcn.10039dac
call fcn.10039dac
int3