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

Disassembly:
push 0xffffffffffffffff
push 0x52b65b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x794
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.004017a0
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x5a4]
push 0x200
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5a8]
mov dword [esp + 0x7b0], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1a4]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1a4]
push ecx
push 0xff
stosb byte es:[edi], al
call ebp
mov edi, 0x570278
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x570274
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1a8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0041325d
mov esi, eax
add esp, 8
test esi, esi
je 0x409086
lea edi, [esp + 0x5a4]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x5ac]
push 1
push ecx
call fcn.004130f3
push esi
call fcn.00413076
mov al, byte [esp + 0x5b8]
add esp, 0x14
xor ecx, ecx
lea esi, [esp + 0x5a4]
test al, al
je 0x408f23
cmp al, 0x5c
jne 0x408f16
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
xor ecx, ecx
jmp 0x408f1b
mov byte [esp + ecx + 0x24], al
inc ecx
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x408f01
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xa4]
lea edx, [esp + 0xa4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0xff
stosb byte es:[edi], al
call ebp
mov edi, 0x570260
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x3a4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x930]
lea ecx, [esp + 0x3a4]
push eax
push 0x57023c
push ecx
call fcn.00412aab
add esp, 0xc
lea edx, [esp + 0xa4]
lea eax, [esp + 0x3a4]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00402060
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x2a4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x2a4]
push ecx
push 0xff
stosb byte es:[edi], al
call ebp
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2a4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x4a4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebx + 0x930]
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x4ac]
push 0x570228
push edx
call fcn.00412aab
add esp, 0x10
lea eax, [esp + 0x2a4]
lea ecx, [esp + 0x4a4]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00402060
mov eax, dword [ebx + 0x1c]
push 1
push 0
lea edx, [esp + 0xac]
push 0
push edx
push 0x56e3c4
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebx + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x7ac], 0xffffffff
call fcn.00401850
mov ecx, dword [esp + 0x7a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7a0
ret