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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446556
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xfc
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x449300
mov dword [ebp - 0xac], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0xac]
test esi, esi
jne 0x408cfd
mov byte [ebp - 0xbd], 0
jmp 0x4094fa
mov ecx, esi
mov dword [ebp - 0xe0], 0
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408d20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xf0]
call fcn.00403110
mov byte [ebp - 4], 2
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0xf0]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402ef0
mov dword [ebp - 0xf8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 7
lea ecx, [ebp - 0x108]
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.00402ef0
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf4]
cmp ecx, 7
jbe 0x408e3d
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095a1
push ecx
push edx
call fcn.004264e6
add esp, 8
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xdc]
cmp ecx, 7
jbe 0x408e9e
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095a1
push ecx
push edx
call fcn.004264e6
add esp, 8
mov ecx, esi
mov dword [ebp - 0xe0], 0
xor eax, eax
mov dword [ebp - 0xdc], 7
xorps xmm0, xmm0
mov word [ebp - 0xf0], ax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], eax
lea edx, [ecx + 2]
mov dword [ebp - 0xc4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ed6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xd8]
call fcn.00403110
mov byte [ebp - 4], 7
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0xd8]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402ef0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xc4]
cmp ecx, 7
jbe 0x408f8d
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408f83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095a6
push ecx
push edx
call fcn.004264e6
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc4], 7
lea ecx, [eax - 1]
cmp eax, ecx
jb 0x4095ab
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x2c]
xor edx, edx
push 0x40
push str.powershell.exe__nologo__noprofile__command__Expand_Archive__Path
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x5c]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
call fcn.00403110
mov esi, 0x7ffffffe
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub eax, ecx
cmp eax, 2
jb 0x4095b0
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push ecx
cmova eax, dword [ebp - 0x44]
push eax
push 2
push 0x455364
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xf0]
call fcn.0040a6c0
push 2
push 0x45535c
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
call fcn.00402ef0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xd8], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 7
push dword [ebp - 0xc8]
movd eax, xmm1
cmova ecx, eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00402ef0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xc4]
cmp ecx, 7
jbe 0x4090d2
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4090c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095b5
push ecx
push edx
call fcn.004264e6
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xdc]
cmp ecx, 7
jbe 0x409116
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40910c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095b5
push ecx
push edx
call fcn.004264e6
add esp, 8
push 0x10
push str._DestinationPath
lea ecx, [ebp - 0x5c]
call fcn.00402ef0
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
cmp esi, 2
jb 0x4095ba
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
push 2
push 0x455364
push ecx
push dword [ebp - 0xac]
lea ecx, [ebp - 0xf0]
call fcn.0040a6c0
push 2
push 0x455390
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00402ef0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0xd8], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd8]
cmp dword [ebp - 0xc4], 7
push dword [ebp - 0xc8]
movd eax, xmm1
cmova ecx, eax
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00402ef0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc4]
cmp ecx, 7
jbe 0x409204
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4091fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095bf
push ecx
push edx
call fcn.004264e6
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xdc]
cmp ecx, 7
jbe 0x409248
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40923e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095bf
push ecx
push edx
call fcn.004264e6
add esp, 8
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x44
push ecx
push 0
push 0
push 0x8000000
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0xbc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409409
push 0xffffffffffffffff
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xbc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb8]
call esi
mov byte [ebp - 0xac], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0xac]
lea ecx, [ebp - 0xd8]
call fcn.0040a800
add esp, 4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.00404dc0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc4]
mov byte [ebp - 0xbd], al
cmp ecx, 7
jbe 0x40936d
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40935d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095c4
push ecx
push edx
call fcn.004264e6
mov al, byte [ebp - 0xbd]
add esp, 8
test al, al
je 0x409385
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.0042b4d9
add esp, 4
mov byte [ebp - 0xac], 0
lea edx, [ebp - 0x2c]
push dword [ebp - 0xac]
lea ecx, [ebp - 0xd8]
call fcn.0040a800
add esp, 4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.00404dc0
mov ecx, dword [ebp - 0xc4]
mov byte [ebp - 0xbd], al
cmp ecx, 7
jbe 0x4093fe
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4093ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095c9
push ecx
push edx
call fcn.004264e6
mov al, byte [ebp - 0xbd]
add esp, 8
mov byte [ebp - 0xbd], 1
test al, al
jne 0x409410
mov byte [ebp - 0xbd], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x40944a
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409440
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ce
push ecx
push edx
call fcn.004264e6
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x409498
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40948e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ce
push ecx
push edx
call fcn.004264e6
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x4094e6
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4094dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ce
push ecx
push edx
call fcn.004264e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x409534
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40952a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ce
push ecx
push edx
call fcn.004264e6
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 7
jbe 0x40957e
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409574
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ce
push ecx
push edx
call fcn.004264e6
add esp, 8
mov al, byte [ebp - 0xbd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004264a8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042b25f
call fcn.0042b25f
call fcn.00409dc0
call fcn.00401350
call fcn.0042b25f
call fcn.00401350
call fcn.0042b25f
call fcn.0042b25f
call fcn.0042b25f
call fcn.0042b25f
int3