Function at 0x1000c8a2
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push esi
push edi
lea edi, [ebp - 0x464]
mov ecx, 0x116
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
call fcn.100acad7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100acad7
mov byte [ebp - 4], 1
mov esi, esp
push 0x400
push 0x400
lea ecx, [ebp - 0x10]
call fcn.1006a88b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.10021b10
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1006a9c7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1004fb36
add eax, 1
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x10]
call fcn.1004f9a6
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x444]
push edx
lea ecx, [ebp - 0x10]
call fcn.1006a2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
call fcn.1006a0d0
push str.Temp_
lea ecx, [ebp - 0x10]
call fcn.1006a7e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1248]
push ecx
push 0x100f5098
lea edx, [ebp - 0x14]
push edx
call fcn.100503de
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1006a861
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
mov esi, esp
push eax
push str.CURDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push 0x100f50b0
mov ecx, dword [ebp + 8]
add ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp esi, esp
call fcn.10021b10
test eax, eax
jne 0x1000cbd2
lea ecx, [ebp - 0x20]
call fcn.100acad7
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
push edx
push str._s_setup.exe
lea eax, [ebp - 0x20]
push eax
call fcn.100503de
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov esi, esp
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100acc14
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.10021b10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x1000ca70
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1006a0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1006a0d0
mov eax, dword [ebp - 0x418]
jmp 0x1000d0e7
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
cmp esi, esp
call fcn.10021b10
lea ecx, [ebp - 0x2b0]
call fcn.100acad7
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
push eax
call fcn.1000b4f9
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x65a
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc8
push edx
call fcn.1000c65b
add esp, 8
push 0x3c
push 0
lea eax, [ebp - 0x2ac]
push eax
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x2ac], 0x3c
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0x100f50e4
mov dword [ebp - 0x290], 5
mov dword [ebp - 0x2a8], 0x40
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x29c], str.setup.exe
mov dword [ebp - 0x298], 0x100f5104
mov esi, esp
lea ecx, [ebp - 0x2ac]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp esi, esp
call fcn.10021b10
test eax, eax
je 0x1000cbb2
mov dword [0x10107d00], 1
mov edx, dword [ebp + 8]
push edx
call fcn.1000aeeb
add esp, 4
mov dword [ebp - 0x41c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b0]
call fcn.1006a0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1006a0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1006a0d0
mov eax, dword [ebp - 0x41c]
jmp 0x1000d0e7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b0]
call fcn.1006a0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1006a0d0
jmp 0x1000d0bc
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 1
jne 0x1000ce81
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2bc], 1
lea ecx, [ebp - 0x2b8]
call fcn.100acad7
mov byte [ebp - 4], 5
mov esi, esp
push 0x400
push 0x400
lea ecx, [ebp - 0x2b8]
call fcn.1006a88b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.10021b10
push 0xffffffffffffffff
lea ecx, [ebp - 0x2b8]
call fcn.1006a9c7
push 0x5c
lea ecx, [ebp - 0x2b8]
call fcn.1004fb36
add eax, 1
push eax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.1004f9a6
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.1006a2d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x420]
call fcn.1006a0d0
cmp dword [ebp - 0x2bc], 0
je 0x1000ce40
push 0x3c
push 0
lea edx, [ebp - 0x300]
push edx
call fcn.10021ab0
add esp, 0xc
mov dword [ebp - 0x300], 0x3c
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], str.open
mov dword [ebp - 0x2e4], 5
mov dword [ebp - 0x2fc], 0x40
lea ecx, [ebp - 0x2b8]
call fcn.100acc14
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2f0], str.WinFlash.exe
lea ecx, [ebp - 0x2c4]
call fcn.100acad7
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.1006a2d0
push 0x100f5134
lea ecx, [ebp - 0x14]
call fcn.1006a7e8
mov ecx, dword [ebp + 8]
add ecx, 0xf22
push ecx
lea ecx, [ebp - 0x14]
call fcn.1006a7e8
mov esi, esp
push 0x400
push 0x400
lea ecx, [ebp - 0x2c4]
call fcn.1006a88b
push eax
lea ecx, [ebp - 0x14]
call fcn.100acc14
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp esi, esp
call fcn.10021b10
mov esi, esp
push 0
push 0
push 0x100
lea edx, [ebp - 0x404]
push edx
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c4]
call fcn.1006a88b
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp esi, esp
call fcn.10021b10
lea eax, [ebp - 0x404]
push eax
call fcn.100012b9
add esp, 4
and eax, 0xff
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp + 8]
add ecx, 0xca
push ecx
mov edx, esp
mov dword [ebp - 0x424], esp
push ecx
mov ecx, edx
call fcn.1006a161
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x454], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx]
push edx
mov eax, dword [ebp + 8]
add eax, 0x25a
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
push eax
call fcn.1006a161
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp - 0x2b4]
push ecx
mov byte [ebp - 4], 7
call fcn.1000d106
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c4]
call fcn.1006a0d0
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x42c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.1006a0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1006a0d0
mov eax, dword [ebp - 0x42c]
jmp 0x1000d0e7
mov dword [ebp - 0x410], 1
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0x10b2]
test ecx, ecx
je 0x1000cebe
mov edx, dword [ebp + 8]
add edx, 0x10b2
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
push eax
call fcn.1000c39c
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x1000cefa
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 0xfea]
test ecx, ecx
je 0x1000cefa
mov edx, dword [ebp + 8]
add edx, 0xfea
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
push eax
call fcn.1000c39c
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x1000cf25
mov eax, dword [ebp + 8]
add eax, 0xf22
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
push eax
call fcn.1000c39c
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x1000cf60
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx + 0x117a]
test edx, edx
je 0x1000cf60
mov eax, dword [ebp + 8]
add eax, 0x117a
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.1006a88b
push eax
call fcn.1000c39c
add esp, 8
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp + 8]
add ecx, 0xca
push ecx
lea ecx, [ebp - 0x408]
call fcn.1006a161
mov byte [ebp - 4], 9
push 0x100f5138
push 0x100f5144
lea ecx, [ebp - 0x408]
call fcn.1004f447
mov edx, dword [ebp + 8]
add edx, 0x25a
push edx
lea ecx, [ebp - 0x40c]
call fcn.1006a161
mov byte [ebp - 4], 0xa
push 0x100f5148
push 0x100f5154
lea ecx, [ebp - 0x40c]
call fcn.1004f447
push ecx
mov ecx, esp
mov dword [ebp - 0x430], esp
lea eax, [ebp - 0x408]
push eax
call fcn.10069cfa
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x460], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
lea edx, [ebp - 0x40c]
push edx
call fcn.10069cfa
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x410]
push eax
mov byte [ebp - 4], 0xa
call fcn.1000d106
add esp, 0x10
cmp dword [ebp - 0x410], 0
je 0x1000d041
cmp dword [0x1010706c], 1
jne 0x1000d041
mov ecx, dword [ebp + 8]
add ecx, 0x65a
push ecx
call fcn.1000e00c
add esp, 4
cmp dword [ebp - 0x410], 0
je 0x1000d06f
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx]
cmp eax, 4
jne 0x1000d06f
mov ecx, dword [ebp + 8]
add ecx, 0x192
push ecx
mov edx, dword [ebp + 8]
add edx, 2
push edx
call fcn.1000c779
add esp, 8
mov eax, dword [ebp - 0x410]
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40c]
call fcn.1006a0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x408]
call fcn.1006a0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1006a0d0
mov eax, dword [ebp - 0x438]
jmp 0x1000d0e7
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1006a0d0
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x464
cmp ebp, esp
call fcn.10021b10
mov esp, ebp
pop ebp
ret 4