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

Disassembly:
push 0xffffffffffffffff
push 0x4471d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x45b684]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x2c], 2
call fcn.0040f150
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409fe8
push 0x80004005
call fcn.00401080
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x2c], 3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x40a023
push 0x100
lea ecx, [esp + 0x14]
call fcn.00401100
mov esi, dword [esp + 0x10]
push esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test esi, esi
jne 0x40a037
xor eax, eax
jmp 0x40a055
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a040
sub eax, edx
sar eax, 1
js 0x40a3c0
cmp eax, dword [esi - 8]
jg 0x40a3c0
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x40a08d
push 0x100
lea ecx, [esp + 0x14]
call fcn.00401100
mov esi, dword [esp + 0x10]
push esi
push 0
push 0x44f9f0
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test esi, esi
jne 0x40a0a4
xor eax, eax
jmp 0x40a0c5
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a0b0
sub eax, edx
sar eax, 1
js 0x40a3c0
cmp eax, dword [esi - 8]
jg 0x40a3c0
push 4
mov dword [esi - 0xc], eax
push str..exe
lea ecx, [esp + 0x18]
mov word [esi + eax*2], 0
call fcn.00402f50
mov ebp, dword [esp + 0x10]
push ecx
lea edi, [ebp - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push edi
call fcn.00401260
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409e70
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call fcn.0040f150
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a13b
push 0x80004005
call fcn.00401080
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
push 0x44fd10
push ecx
mov byte [esp + 0x38], 4
call fcn.004012f0
lea edx, [esp + 0x2c]
push 0x44fa18
push edx
lea ecx, [esp + 0x48]
call fcn.0040bd00
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x4c], 5
call fcn.00405dd0
push 0x44fa14
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x58], 6
call fcn.00405e90
add esp, 0x2c
mov byte [esp + 0x2c], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402f50
mov byte [esp + 0x2c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a224
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push 0x44fa18
push ecx
lea ecx, [esp + 0x3c]
call fcn.0040bd00
lea edx, [esp + 0x40]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x40], 8
call fcn.00405dd0
push 0x44fa14
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x4c], 9
call fcn.00405e90
add esp, 0x20
mov byte [esp + 0x2c], 0xa
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402f50
mov byte [esp + 0x2c], 9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a29e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push 0
push esi
push ebp
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a33b
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a385
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a3ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
push 0x80070057
call fcn.00401080
int3