Function at 0x401930
Capabilities:
Create process on windows
Get common file path
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ec26
mov eax, dword fs:[0]
push eax
mov eax, 0x1484
call fcn.0040e3f0
mov eax, dword [0x416004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov byte [0x417445], 1
mov dword [ebp - 0x1454], 7
mov dword [ebp - 0x1458], 0
mov word [ebp - 0x1468], ax
mov dword [ebp - 4], eax
push 0x208
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x638]
push eax
mov dword [ebp - 0x1c], 0x70006f
mov dword [ebp - 0x18], 0x6e0065
call fcn.00404c10
push 0x208
lea eax, [ebp - 0x228]
mov dword [ebp - 0x1488], 0
push 0
push eax
mov dword [ebp - 0x1484], 0
call fcn.00404c10
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00404c10
push 0x800
lea eax, [ebp - 0x1450]
push 0
push eax
call fcn.00404c10
push 0x208
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.00404c10
push 0x208
lea eax, [ebp - 0xa48]
push 0
push eax
call fcn.00404c10
add esp, 0x48
lea eax, [ebp - 0x840]
push 0x208
push 0
push eax
call fcn.00404c10
add esp, 0xc
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x148c]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
jne 0x401a8d
mov eax, dword [ebp - 0x1454]
cmp eax, 8
jb 0x401a71
inc eax
push eax
push dword [ebp - 0x1468]
call fcn.00402310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402a1c
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.00404c10
add esp, 0xc
lea edx, [ebp - 0x638]
call fcn.00401190
mov ecx, edx
call fcn.004010f0
test al, al
jne 0x401a59
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x401a59
lea ecx, [ebp - 0x430]
call fcn.004010d0
cmp word [ebp - 0x228], 0
jne 0x401aeb
xor ecx, ecx
jmp 0x401b03
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401af4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x1468]
call fcn.00402130
push 1
push 0x413d64
lea ecx, [ebp - 0x1468]
call fcn.00402230
cmp word [ebp - 0x430], 0
jne 0x401b36
xor ecx, ecx
jmp 0x401b4f
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401b40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x1468]
call fcn.00402230
cmp dword [ebp - 0x1454], 8
lea ecx, [ebp - 0x1468]
cmovae ecx, dword [ebp - 0x1468]
call fcn.00401270
test eax, eax
je 0x401d8f
push ecx
mov ecx, dword [ebp - 0x148c]
lea eax, [ebp - 0x1488]
push eax
lea eax, [ebp - 0x1484]
push eax
call fcn.00401000
add esp, 0xc
test eax, eax
je 0x401d8f
mov edx, 7
mov dword [ebp - 0x1470], 0
xor eax, eax
mov dword [ebp - 0x146c], edx
mov word [ebp - 0x1480], ax
mov byte [ebp - 4], 1
xor edi, edi
mov eax, dword [ebp - 0x1484]
lea esi, [eax + 4]
cmp dword [eax], edi
jbe 0x401c93
nop dword [eax]
mov ebx, dword [esi]
lea eax, [ebp - 0x1468]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1480]
call fcn.004023c0
push 1
push 0x413db0
lea ecx, [ebp - 0x1480]
call fcn.00402230
movzx eax, byte [esi + 4]
sub eax, 0
je 0x401c4e
sub eax, 1
jne 0x401c79
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x1480]
call fcn.004020a0
cmp dword [ebp - 0x146c], 8
lea eax, [ebp - 0x1480]
mov edx, ebx
lea ecx, [esi + 5]
cmovae eax, dword [ebp - 0x1480]
push eax
call fcn.00401210
add esp, 4
jmp 0x401c71
cmp dword [ebp - 0x1454], 8
lea eax, [ebp - 0x1468]
lea ecx, [esi + 5]
cmovae eax, dword [ebp - 0x1468]
sub esp, 8
push eax
call fcn.00401330
add esp, 0xc
test eax, eax
je 0x401d76
mov eax, dword [ebp - 0x1484]
add esi, 5
inc edi
add esi, ebx
cmp edi, dword [eax]
jb 0x401be0
mov edx, dword [ebp - 0x146c]
cmp dword [ebp - 0x1454], 8
lea ecx, [ebp - 0x1468]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp - 0x1480]
cmovae ecx, dword [ebp - 0x1468]
cmp edx, 8
push 0
cmovae eax, dword [ebp - 0x1480]
push ecx
push 0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x840]
push 0x413db8
push eax
call esi
lea eax, [ebp - 0x840]
push eax
push str._sing_2.2.2.3__n_4__w_3000
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0xc50]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0xa48]
push eax
push 0
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0xa48]
push eax
push eax
lea eax, [ebp - 0xc50]
push eax
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x1450]
push str._s_move___s____s___del__Q__F___s_
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x1450]
push 0
push 0
push eax
push 0x413dfc
lea eax, [ebp - 0x1c]
push eax
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x1484]
call fcn.00405bbe
add esp, 4
lea ecx, [ebp - 0x1480]
call fcn.004020f0
lea ecx, [ebp - 0x1468]
call fcn.004020f0
jmp 0x401a71