Function at 0x4179f0
Capabilities:
Create process on windows
Enumerate processes
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1cf9
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x4d7064]
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
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xa80], 0
push 0x208
mov dword [0x4da2f0], eax
lea eax, [ebp - 0x830]
push 0
push eax
mov dword [ebp - 0xa8c], esi
call fcn.00460000
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x830]
push eax
push str.WorkPath__s
call fcn.004217c0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00460000
add esp, 0x14
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00488f0c
add esp, 8
test eax, eax
je 0x417ad5
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x628]
push eax
push str.set_WorkPath__s
call fcn.004217c0
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0xa84]
mov dword [ebp - 0xa84], 8
push eax
mov dword [ebp - 0xa80], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x4bab6c
push 0
call fcn.0048b76e
add esp, 8
mov ecx, 0x4da3a8
push 0
push dword [0x4da2f0]
push 0
call fcn.0040cd50
mov ecx, dword [0x4da0dc]
test ecx, ecx
jne 0x417b9b
push 0x4d6044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4da0dc], 0
jne 0x417b8a
push 0x34
call fcn.0041c510
add esp, 4
mov dword [ebp - 0xa80], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x417b71
mov ecx, eax
call fcn.00435630
jmp 0x417b73
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa80]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x4da0dc], eax
push 0x4d6044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4da0dc]
push SysStringLen
push str.SOFTWAREAnything
push str.Anything.exe
call fcn.00436b00
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00460000
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x4bab70
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.004059e0
mov ecx, eax
test ecx, ecx
je 0x418407
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa78], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa78]
call fcn.00405440
test al, al
jne 0x417c52
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417c30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa78]
call fcn.00406e60
lea eax, [ebp - 0xa78]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x4da658
call fcn.00421380
mov edx, dword [ebp - 0xa78]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.00414490
mov ecx, eax
call fcn.0040bad0
lea ecx, [ebp - 0xa9c]
call fcn.00403330
mov dword [ebp - 4], 3
call fcn.00416170
mov ecx, eax
call fcn.00432c20
mov eax, dword [0x4da410]
test al, 1
jne 0x417cec
or eax, 1
mov dword [0x4da410], eax
mov ecx, 0x4da40c
mov byte [ebp - 4], 4
call fcn.00416120
push 0x4b62c0
call fcn.00434265
add esp, 4
mov byte [ebp - 4], 3
mov ecx, 0x4da40c
call fcn.00416200
push str.uninstall
call fcn.0040ebc0
mov ecx, eax
call fcn.00406f90
lea eax, [ebp - 0xa80]
push eax
call fcn.00423f20
add esp, 4
push eax
mov byte [ebp - 4], 5
call fcn.0040ebc0
mov ecx, eax
call fcn.00406e50
mov edx, dword [ebp - 0xa80]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417d48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov edi, eax
lea eax, [ebp - 0xa70]
push 0
push eax
call fcn.00460000
add esp, 0xc
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa74], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0xa74]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x417dbd
cmp dword [ebp - 0xa6c], edi
je 0x417db1
lea eax, [ebp - 0xa74]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x417d96
jmp 0x417dbd
mov eax, dword [ebp - 0xa5c]
mov dword [ebp - 0xa7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xa7c]
lea eax, [ebp - 0x848]
push esi
push eax
call fcn.0041e8d0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x848]
push eax
push esi
push edi
push str.cur_pid:_u__ppid:_u__file:_s
call fcn.004217c0
add esp, 0x18
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea ecx, [ebp - 0xa98]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00404d40
mov edx, dword [ebp - 0x834]
mov dword [ebp - 0xa80], 1
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x417e6d
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417e63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418411
push edx
push ecx
call fcn.00433e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
push dword [ebp - 0xa98]
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xa94]
call fcn.00404d40
mov byte [ebp - 4], 8
call fcn.004059e0
mov ecx, eax
test ecx, ecx
je 0x418416
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa90], eax
push dword [ebp - 0xa94]
lea eax, [ebp - 0xa90]
mov byte [ebp - 4], 9
push str.ex1_father_:__s_
push eax
call fcn.00405920
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0xa7c], esp
mov dword [eax + 0x24], 0
mov edi, dword [ebp - 0xa90]
push 0
push edi
push 0x4babc4
mov byte [ebp - 4], 0xa
call fcn.0040ebc0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00406aa0
call fcn.00414490
mov ecx, eax
call fcn.0040bb20
push eax
call fcn.004131d0
mov ecx, 0x4da3e4
call fcn.00403a60
test eax, eax
jne 0x417f60
push str.CheckSingleInstance_failed__exit
call fcn.004217c0
add esp, 4
push 0
push 0x4bac14
push 0
call fcn.004131e0
mov dword [ebp - 0xa78], 8
jmp 0x4181fb
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00460000
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x4da2f0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [pe_dos_header]
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [eax + 0x10]
push str.Anything.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call fcn.0040ebc0
mov ecx, eax
call fcn.00406dc0
xor esi, esi
push esi
mov eax, dword [esi]
call dword [eax]
mov dword [ebp - 0xa78], eax
test eax, eax
je 0x4180ea
push eax
push str.pre_init_check_failed__ret___d
call fcn.004217c0
add esp, 8
mov byte [ebp - 4], 0xb
call fcn.004059e0
mov ecx, eax
test ecx, ecx
je 0x418420
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0xa80], 3
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0xa78]
mov dword [ebp - 0xa7c], esi
sub eax, 0xa
je 0x418038
sub eax, 1
jne 0x418050
push 0x1f
push str.7z.dll
jmp 0x41803f
push 0x16
push 0x4baa40
lea ecx, [ebp - 0xa7c]
call fcn.00406e60
mov esi, dword [ebp - 0xa7c]
push 0
push esi
push 0
call fcn.004131e0
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418075
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004059e0
mov ecx, eax
test ecx, ecx
je 0x41842a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa80], eax
push dword [ebp - 0xa78]
lea eax, [ebp - 0xa80]
mov byte [ebp - 4], 0xc
push str.720260B5_154E_483f_A485_0B46C3D6C50D
push str._sPreInitCheck:_d
push eax
call fcn.00405920
add esp, 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xa80]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4181fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4181fb
mov eax, dword [esi]
push str.Anything.ldsprj
push str.SETUPCONFIG
push 0xd1
push dword [0x4da2f0]
push 0
call dword [eax + 4]
test eax, eax
jne 0x4181e4
push str.init_config_failed__exit
call fcn.004217c0
add esp, 4
push 4
push 0x4baab0
push 0
call fcn.004131e0
cmp eax, 6
jne 0x418172
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xa85]
call fcn.00416b90
push 1
push 0
push 0
push dword [eax]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0xa80]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418172
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004059e0
mov ecx, eax
test ecx, ecx
je 0x418434
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa80], eax
push str.720260B5_154E_483f_A485_0B46C3D6C50D
lea eax, [ebp - 0xa80]
mov byte [ebp - 4], 0xd
push str._sInitConfigFaile
push eax
call fcn.00405920
add esp, 0xc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xa80]
mov eax, ebx
mov dword [ebp - 0xa78], 9
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4181fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4181fb
push dword [ebp + 0x14]
push dword [ebp - 0xa8c]
call fcn.00419a60
add esp, 8
mov dword [ebp - 0xa78], eax
mov ecx, 0x4da3e4
call fcn.00404080
mov ecx, dword [0x4da410]
test cl, 1
jne 0x418238
or ecx, 1
mov dword [0x4da410], ecx
mov ecx, 0x4da40c
mov byte [ebp - 4], 0xe
call fcn.00416120
push 0x4b62c0
call fcn.00434265
add esp, 4
mov byte [ebp - 4], 9
mov ecx, 0x4da40c
call fcn.004166a0
call fcn.00416170
mov ecx, eax
call fcn.00432d90
mov eax, dword [0x4da2ec]
add eax, 0x10
push eax
mov dword [ebp - 0xa8c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4da3e0]
test esi, esi
je 0x4182b5
cmp dword [esi + 4], 0
jle 0x418283
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4da3e0]
test esi, esi
je 0x4182b5
mov eax, dword [esi]
test eax, eax
je 0x41829c
push eax
call fcn.00489d6f
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00433e6a
add esp, 8
push dword [ebp - 0xa8c]
mov dword [0x4da3e0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4da3dc]
test esi, esi
je 0x418313
mov eax, dword [esi]
test eax, eax
je 0x4182ea
push eax
call fcn.00489d6f
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x418301
push eax
call fcn.00489d6f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00433e6a
add esp, 8
mov esi, dword [0x4da3d4]
test esi, esi
je 0x418345
cmp dword [esi], 0
je 0x418345
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41832f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x418322
mov esi, dword [0x4d6d90]
mov ecx, dword [0x4d6d94]
cmp esi, ecx
jae 0x41836f
mov eax, dword [esi]
test eax, eax
je 0x418368
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x4d6d94]
add esi, 4
cmp esi, ecx
jb 0x418355
mov ecx, 0x4da3a8
call fcn.00419e40
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 8
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41839a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa94]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4183bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa98]
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4183da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa9c]
call fcn.00403370
mov eax, dword [ebp - 0xa78]
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.0043427a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401de0
call fcn.00469836
push 0x80004005
call fcn.00401de0
push 0x80004005
call fcn.00401de0
push 0x80004005
call fcn.00401de0
push 0x80004005
call fcn.00401de0
int3