Function at 0x10006600
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10029c31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x380
mov eax, dword [0x10035a8c]
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [esp + 0x380], eax
push edi
je 0x100068db
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100068db
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x18]
call fcn.10002a00
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x39c], 0
call fcn.10003680
mov eax, dword [eax]
push 0x1002b7d4
push eax
call fcn.10012f21
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100066ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x100066c8
mov ebx, dword [ebp + 0xc]
push ebx
push esi
lea eax, [esp + 0x70]
push 0x1002c250
push eax
call fcn.10013033
jmp 0x100066df
mov ecx, dword [ebp + 0xc]
push ecx
push esi
lea edx, [esp + 0x70]
push 0x1002c248
push edx
call fcn.10013033
mov ebx, dword [ebp + 0xc]
add esp, 0x10
push 0x1002b599
lea ecx, [esp + 0x14]
call fcn.10002a00
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x14]
push str._SD__installer_state:__s_will_be_install.
push ecx
mov byte [esp + 0x3a0], 1
call fcn.100029a0
add esp, 0xc
push 0x22
push 0x5c
push str..Installer.cpp
call fcn.10012fc0
add esp, 8
inc eax
push eax
push str._s:_d
call fcn.10007550
mov edx, dword [esp + 0x1c]
push edx
call fcn.10007550
xor esi, esi
lea eax, [esp + 0x78]
push esi
push eax
call fcn.10012fed
add esp, 0x18
cmp eax, 0xffffffff
je 0x10006885
mov edx, dword [ebp + 0x10]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006757
sub eax, edi
mov dword [esp + 0x18], eax
lea edi, [esp + 0x2c]
mov ecx, 0xf
jne 0x1000677d
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], 0x1002b599
jmp 0x10006785
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x68]
push ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x30], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x278]
rep stosd dword es:[edi], eax
push 0x104
lea edx, [esp + 0x174]
mov ecx, 0x41
lea edi, [esp + 0x174]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x27c]
push str._sSoftwareInstall.log
push ecx
call fcn.10013033
add esp, 0xc
push esi
push 0x80
push 4
push esi
push 3
push 0xc0000000
lea edx, [esp + 0x290]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10006885
push eax
lea ecx, [esp + 0x20]
call fcn.100206f4
mov eax, dword [esp + 0x1c]
push 2
push esi
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x3a0], 2
call dword [eax + 0x28]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006857
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.1002042a
lea ecx, [esp + 0x1c]
call fcn.10020675
lea ecx, [esp + 0x1c]
mov byte [esp + 0x394], 1
call fcn.10020716
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x394], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100068ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x394], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100068d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x100068dd
xor eax, eax
mov ecx, dword [esp + 0x38c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x384]
call fcn.1001291b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc