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

Disassembly:
push 0xffffffffffffffff
push 0x10026b44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
mov eax, dword [0x10030f6c]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c0], 0
mov dword [esp + 0xc], eax
push 0x400
push 0x400
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c8], 1
call fcn.1001f508
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push eax
push 0
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.1001f558
push 0x5c
lea ecx, [esp + 0x10]
call fcn.1001e450
inc eax
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1001e3d8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c4], 2
call fcn.1001f270
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 1
call fcn.1001f129
push str.Temp_
lea ecx, [esp + 0x10]
call fcn.1001f4b4
lea edx, [esp + 0x14]
mov esi, dword [esp + 0x3c8]
mov ecx, dword [esi + 0x1248]
push ecx
push 0x10030b64
push edx
call fcn.1001e7a9
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.1001f4f0
push 0
lea ecx, [esp + 0x10]
call fcn.1001f508
push eax
push str.CURDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea ebx, [esi + 2]
mov dword [esp + 0x18], ebx
call fcn.1000a920
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000873a
mov ecx, dword [0x10030f6c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
mov bl, 3
push str._s_setup.exe
push eax
mov byte [esp + 0x3cc], bl
call fcn.1001e7a9
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x168]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x100086fd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [0x10030f6c]
mov dword [esp + 0x18], eax
push esi
mov byte [esp + 0x3c4], 4
call fcn.10007730
add esi, 0x65a
add eax, 0xc8
push esi
push eax
call fcn.10008330
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x34]
add esp, 0xc
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], str.open
mov dword [esp + 0x48], 5
mov dword [esp + 0x30], 0x40
call fcn.1001f508
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], str.setup.exe
push ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x10030b1c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100086ed
lea ecx, [esp + 0x18]
mov dword [0x10034fe8], 1
mov byte [esp + 0x3c0], bl
call fcn.1001f129
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 1
call fcn.1001f129
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c0], 0
call fcn.1001f129
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c0], 0xffffffff
call fcn.1001f129
mov eax, 1
jmp 0x10008a8f
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], bl
call fcn.1001f129
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 1
call fcn.1001f129
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c0], 0
call fcn.1001f129
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c0], 0xffffffff
call fcn.1001f129
xor eax, eax
jmp 0x10008a8f
cmp byte [esi], 1
jne 0x100088d4
push str.UpdateFile_Type__ITEMTYPE_BIOS
call fcn.10002680
mov edx, dword [0x10030f6c]
add esp, 4
mov dword [esp + 0x10], edx
mov bl, 5
push 0x400
push 0x400
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c8], bl
call fcn.1001f508
push eax
push 0
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.1001f558
push 0x5c
lea ecx, [esp + 0x14]
call fcn.1001e450
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1001e3d8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 6
call fcn.1001f270
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], bl
call fcn.1001f129
mov ecx, dword [0x10030f6c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x3c4], 7
call fcn.1001f270
push 0x1002f370
lea ecx, [esp + 0x18]
call fcn.1001f4b4
lea eax, [esi + 0xf22]
lea ecx, [esp + 0x14]
push eax
call fcn.1001f4b4
mov edi, dword [esp + 0x14]
push 0x400
push 0x400
lea ecx, [esp + 0x20]
call fcn.1001f508
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
lea ecx, [esp + 0x6c]
push 0x100
push ecx
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.1001f508
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x64]
push edx
call fcn.100012a0
and eax, 0xff
mov ecx, esp
mov edi, eax
lea eax, [esi + 0xca]
mov dword [esp + 0x20], esp
push eax
call fcn.1001f19d
xor ecx, ecx
lea edx, [esi + 0x25a]
mov cl, byte [esi]
mov byte [esp + 0x3c4], 8
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.1001f19d
push edi
mov byte [esp + 0x3d0], 7
call fcn.10008c90
add esp, 0x10
test edi, edi
je 0x100088b3
cmp dword [0x10034144], 1
jne 0x100088b3
add esi, 0x65a
push esi
call sym.EzULIB.dll_WriteFeedbackFile
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], bl
call fcn.1001f129
mov byte [esp + 0x3c0], 1
lea ecx, [esp + 0x10]
jmp 0x10008a63
cmp word [esi + 0x10b2], 0
lea eax, [esi + 0x10b2]
mov edi, 1
je 0x10008905
push edi
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.1001f508
push eax
call fcn.100080d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000897e
cmp word [esi + 0xfea], 0
lea eax, [esi + 0xfea]
je 0x1000892e
push 1
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.1001f508
push eax
call fcn.100080d0
add esp, 0xc
mov edi, eax
test edi, edi
je 0x1000897e
lea eax, [esi + 0xf22]
push 1
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.1001f508
push eax
call fcn.100080d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000897e
cmp word [esi + 0x117a], 0
lea eax, [esi + 0x117a]
je 0x1000897e
push 1
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.1001f508
push eax
call fcn.100080d0
add esp, 0xc
mov edi, eax
lea ecx, [esi + 0xca]
push ecx
lea ecx, [esp + 0x20]
call fcn.1001f19d
push str.amp_
push 0x100304cc
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c8], 9
call fcn.1001e132
lea edx, [esi + 0x25a]
lea ecx, [esp + 0x20]
push edx
call fcn.1001f19d
mov bl, 0xa
push str.amp_
push 0x100304cc
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c8], bl
call fcn.1001e132
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.1001ee96
xor ecx, ecx
lea edx, [esp + 0x24]
mov cl, byte [esi]
mov byte [esp + 0x3c4], 0xb
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.1001ee96
push edi
mov byte [esp + 0x3d0], bl
call fcn.10008c90
add esp, 0x10
test edi, edi
je 0x10008a46
cmp dword [0x10034144], 1
jne 0x10008a2d
lea eax, [esi + 0x65a]
push eax
call sym.EzULIB.dll_WriteFeedbackFile
cmp byte [esi], 4
jne 0x10008a46
mov ecx, dword [esp + 0x18]
add esi, 0x192
push esi
push ecx
call fcn.100083e0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c0], 9
call fcn.1001f129
mov byte [esp + 0x3c0], 1
lea ecx, [esp + 0x1c]
call fcn.1001f129
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c0], 0
call fcn.1001f129
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c0], 0xffffffff
call fcn.1001f129
mov eax, edi
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x3b8
ret 4