Function at 0x40d510
Capabilities:
Create directory
Create process on windows
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45dcca
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x47aab0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
call fcn.0041ba0a
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40d56c
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x478], ebx
call fcn.00424e33
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x25c]
push edx
lea eax, [esp + 0x24]
push 0x469260
push eax
call fcn.00407ac0
mov esi, dword [esp + 0x2c]
add esp, 0xc
push 0x5c
push esi
call fcn.0043ff84
add esp, 8
cmp eax, ebx
je 0x40d620
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40d620
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00407460
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x47c], 1
call fcn.00401d30
mov byte [esp + 0x478], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x47f8a8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00401f70
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040c920
add esp, 4
cmp eax, ebx
jne 0x40d68d
mov ecx, dword [0x47f8a8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40d68d
mov dword [esp + 0x478], 0xffffffff
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 0x40d686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40de2d
push 0x47f5c0
mov dword [0x47f98c], ebx
call fcn.004117a0
mov ecx, dword [0x47f8a8]
push ecx
push str._suninstall000.ini
push 0x47f990
call fcn.00407ac0
add esp, 0xc
call fcn.00411860
mov edx, dword [0x47f990]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [0x47f990]
lea eax, [esp + 0x14]
push eax
call fcn.00418c40
lea ebx, [esp + 0x20]
mov byte [esp + 0x478], 2
call fcn.00418e40
call fcn.00418dc0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push edi
push str.name
push str.setup
call esi
mov ebx, 0x47f680
call fcn.00418e40
call fcn.00418dc0
mov edx, dword [esp + 0x14]
mov eax, dword [0x47f680]
push edx
push eax
push 0x4692fc
push str.setup
call esi
mov ecx, dword [0x47f8a4]
push ecx
push 0x46a1e4
lea edx, [esp + 0x34]
call fcn.00418ed0
mov edx, dword [esp + 0x1c]
add esp, 8
push edx
lea eax, [esp + 0x30]
push eax
push str.nums
push str.files
call esi
mov eax, dword [0x47f8a8]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
mov dword [0x47f8a0], 0
call fcn.00401f70
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x484], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x469294
call fcn.00407310
mov byte [esp + 0x484], 2
call fcn.0040d1a0
add esp, 0xc
test eax, eax
jne 0x40d805
mov byte [esp + 0x478], al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x478], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7fe
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
jmp 0x40de2d
mov eax, dword [0x47f680]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
call fcn.00401f70
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x480], 4
add edi, 0xfffffff0
mov dword [esp + 0x30], esp
mov ebx, esp
push edi
mov dword [esp + 0x34], edi
call fcn.00401f70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
push 0x47f5c0
mov byte [esp + 0x484], 2
call fcn.0040ca60
push 0x47f5c0
call fcn.0040f660
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d878
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x478], 5
mov ecx, dword [0x47f8a8]
push ecx
lea edx, [esp + 0x28]
push str._srs
push edx
call fcn.00407ac0
add esp, 0xc
push 1
push 0x46a1e4
lea edx, [esp + 0x34]
call fcn.00418ed0
mov eax, dword [esp + 0x1c]
add esp, 8
push eax
lea ecx, [esp + 0x30]
push ecx
push str.nums
push str.dirs
call esi
lea ebx, [esp + 0x24]
call fcn.00418e40
call fcn.00418dc0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push edx
push eax
push 0x469328
push str.dirs
call esi
add dword [0x47f98c], 1
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d917
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
push 0
mov byte [esp + 0x488], 6
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [0x47f894]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push str._s_s.lnk
push ecx
call fcn.00407ac0
push 0x47f898
lea edx, [esp + 0x30]
push 0x47f8a8
push edx
call fcn.00407540
add esp, 0x1c
mov esi, eax
push 0x47f898
lea eax, [esp + 0x1c]
push 0x47f8a8
mov bl, 7
push eax
mov byte [esp + 0x484], bl
call fcn.00407540
add esp, 0xc
mov byte [esp + 0x478], 8
mov eax, dword [eax]
mov esi, dword [esi]
mov edi, dword [esp + 0x10]
push eax
call fcn.00410f50
mov byte [esp + 0x478], bl
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 0x40d9d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x478], 6
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 0x40d9f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x10]
call fcn.00418e40
call fcn.00418dc0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push ebx
push 0x469344
push str.desk
call esi
add dword [0x47f98c], 1
push 0
push 2
lea edx, [esp + 0x5c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x467894
lea eax, [esp + 0x58]
push eax
call edi
mov ecx, dword [0x47f894]
push ecx
lea edx, [esp + 0x58]
push edx
call edi
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00407310
call fcn.0040c920
add esp, 4
test eax, eax
jne 0x40da8c
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40dc74
push 2
mov ebx, str.nums
mov edi, 0x469378
lea ecx, [esp + 0x18]
call fcn.00418d70
mov edx, dword [0x47f894]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
push str._s_s.lnk
push ecx
call fcn.00407ac0
push 0x47f898
lea edx, [esp + 0x2c]
push 0x47f8a8
push edx
call fcn.00407540
add esp, 0x1c
mov esi, eax
push 0x47f898
lea eax, [esp + 0x20]
push 0x47f8a8
mov bl, 9
push eax
mov byte [esp + 0x484], bl
call fcn.00407540
add esp, 0xc
mov byte [esp + 0x478], 0xa
mov eax, dword [eax]
mov esi, dword [esi]
mov edi, dword [esp + 0x10]
push eax
call fcn.00410f50
mov byte [esp + 0x478], bl
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 0x40db32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x478], 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 0x40db5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x10]
call fcn.00418e40
call fcn.00418dc0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x469328
push 0x469378
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [0x47f894]
add dword [0x47f98c], 1
push eax
lea ecx, [esp + 0x58]
push ecx
mov edx, ebx
push 0x46938c
push edx
call fcn.00407ac0
push 0x47f89c
lea eax, [esp + 0x2c]
push 0x47f8a8
push eax
call fcn.00407540
add esp, 0x1c
mov esi, eax
push 0x47f89c
lea ecx, [esp + 0x20]
push 0x47f8a8
mov bl, 0xb
push ecx
mov byte [esp + 0x484], bl
call fcn.00407540
add esp, 0xc
mov byte [esp + 0x478], 0xc
mov eax, dword [eax]
mov esi, dword [esi]
mov edi, dword [esp + 0x10]
push eax
call fcn.00410f50
mov byte [esp + 0x478], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dc17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x478], 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 0x40dc3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x10]
call fcn.00418e40
call fcn.00418dc0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push ecx
push ebx
push 0x4693a4
push 0x469378
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add dword [0x47f98c], 1
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [0x47f98c]
push edx
push 0x46a1e4
lea edx, [esp + 0x34]
call fcn.00418ed0
mov eax, dword [esp + 0x1c]
add esp, 8
push eax
lea ecx, [esp + 0x30]
push ecx
push str.nums
push str.uninstallnums
call esi
mov edi, 1
push edi
push 0x46a1e4
lea edx, [esp + 0x34]
call fcn.00418ed0
mov edx, dword [esp + 0x1c]
add esp, 8
push edx
lea eax, [esp + 0x30]
push eax
push str.biao
push 0x4693d4
call esi
mov eax, dword [0x47f8a8]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov dword [0x47f890], edi
mov dword [0x47f8bc], edi
call fcn.00401f70
add eax, 0x10
add esp, 4
mov ecx, 0x47f5c0
mov dword [esi], eax
call fcn.00411200
call fcn.0041ba0a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40dd1c
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x478], 0xd
mov ecx, dword [0x47f898]
mov edx, dword [0x47f8a8]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4696e8
push eax
call fcn.00407ac0
mov esi, dword [esp + 0x28]
add esp, 0x10
push edi
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov byte [esp + 0x478], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x478], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x478], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dddb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x478], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x478], 0xffffffff
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.0043f428
mov esp, ebp
pop ebp
ret