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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481862
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x49afc4]
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 ebx, dword [ebp + 0x10]
mov dword [ebp - 0x840], 0
push 0x208
mov dword [0x49c878], eax
lea eax, [ebp - 0x628]
push 0
push eax
mov dword [ebp - 0x834], ebx
call fcn.00433350
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00433350
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0045c1f5
add esp, 8
test eax, eax
je 0x417320
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
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 - 0x84c]
mov dword [ebp - 0x84c], 8
push eax
mov dword [ebp - 0x848], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x487d14
push 0
call fcn.0045ea83
add esp, 8
mov ecx, 0x49c930
push 0
push dword [0x49c878]
push 0
call fcn.0040cbb0
mov ecx, dword [0x49c664]
test ecx, ecx
jne 0x4173e6
push 0x49a044
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x49c664], 0
jne 0x4173d5
push 0x34
call fcn.004273bc
add esp, 4
mov dword [ebp - 0x83c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4173bc
mov ecx, eax
call fcn.00428880
jmp 0x4173be
xor eax, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x83c]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x49c664], eax
push 0x49a044
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x49c664]
push SysReAllocStringLen
push str.SOFTWAREAnything
push str.Anything.exe
call fcn.0042a8f0
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00433350
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x487d18
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call fcn.00413f40
mov ecx, eax
call fcn.0040b930
lea ecx, [ebp - 0x844]
call fcn.00403120
mov dword [ebp - 4], 1
call fcn.00415c20
mov ecx, eax
call fcn.00425cf0
mov eax, dword [0x49c998]
test al, 1
jne 0x41748f
or eax, 1
mov dword [0x49c998], eax
mov ecx, 0x49c994
mov byte [ebp - 4], 2
call fcn.00415bd0
push 0x483550
call fcn.00427335
add esp, 4
mov byte [ebp - 4], 1
mov ecx, 0x49c994
call fcn.00415cb0
push str.uninstall
call fcn.0040e750
mov ecx, eax
call fcn.00406e00
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x4179b7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x848], edi
mov byte [ebp - 4], 3
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x4179c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x83c], eax
push edi
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 4
push str.ex1_father_:__s_
push eax
call fcn.004054a0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x838], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x83c]
push 0
push esi
push 0x487d6c
mov byte [ebp - 4], 5
call fcn.0040e750
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00406910
call fcn.00413f40
mov ecx, eax
call fcn.0040b980
push eax
call fcn.00412c80
mov ecx, 0x49c96c
call fcn.00403850
or ebx, 0xffffffff
test eax, eax
jne 0x417570
push eax
push 0x487d74
push eax
call fcn.00412c90
mov dword [ebp - 0x838], 8
jmp 0x4176ea
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00433350
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x49c878]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [pe_dos_header]
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [eax + 0x10]
push str.Anything.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.0040e750
mov ecx, eax
call fcn.00406c30
xor eax, eax
push 0
mov eax, dword [eax]
call dword [eax]
mov dword [ebp - 0x838], eax
test eax, eax
je 0x4178d2
mov byte [ebp - 4], 6
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x4179cb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x840], 1
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x838]
mov dword [ebp - 0x834], esi
sub eax, 0xa
je 0x41763b
sub eax, 1
jne 0x417653
push 0x1f
push str.7z.dll
jmp 0x417642
push 0x16
push 0x487c20
lea ecx, [ebp - 0x834]
call fcn.00406cd0
mov esi, dword [ebp - 0x834]
push 0
push esi
push 0
call fcn.00412c90
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417678
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x4179d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
push dword [ebp - 0x838]
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 7
push str.720260B5_154E_483f_A485_0B46C3D6C50D
push str._sPreInitCheck:_d
push eax
call fcn.004054a0
add esp, 0x10
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x834]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4176e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x83c]
mov ecx, 0x49c96c
call fcn.00403e70
mov ecx, dword [0x49c998]
test cl, 1
jne 0x417727
or ecx, 1
mov dword [0x49c998], ecx
mov ecx, 0x49c994
mov byte [ebp - 4], 9
call fcn.00415bd0
push 0x483550
call fcn.00427335
add esp, 4
mov byte [ebp - 4], 4
mov ecx, 0x49c994
call fcn.00416150
call fcn.00415c20
mov ecx, eax
call fcn.00425e60
mov eax, dword [0x49c874]
add eax, 0x10
push eax
mov dword [ebp - 0x840], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x49c968]
test ebx, ebx
je 0x4177a4
cmp dword [ebx + 4], 0
jle 0x417772
mov eax, dword [ebx]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ebx, dword [0x49c968]
test ebx, ebx
je 0x4177a4
mov eax, dword [ebx]
test eax, eax
je 0x41778b
push eax
call fcn.0045d084
add esp, 4
mov dword [ebx], 0
push 0xc
push ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00426f3a
add esp, 8
push dword [ebp - 0x840]
mov dword [0x49c968], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [0x49c964]
test ebx, ebx
je 0x417802
mov eax, dword [ebx]
test eax, eax
je 0x4177d9
push eax
call fcn.0045d084
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4177f0
push eax
call fcn.0045d084
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
mov dword [ebx + 8], 0
call fcn.00426f3a
add esp, 8
mov ebx, dword [0x49c95c]
test ebx, ebx
je 0x417834
cmp dword [ebx], 0
je 0x417834
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x41781e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebx + 0x20]
push 0
mov dword [ebx + 0x10], 0
call eax
add ebx, 0x24
cmp dword [ebx], 0
jne 0x417811
mov ebx, dword [0x49ad90]
mov ecx, dword [0x49ad94]
cmp ebx, ecx
jae 0x41785e
mov eax, dword [ebx]
test eax, eax
je 0x417857
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x49ad94]
add ebx, 4
cmp ebx, ecx
jb 0x417844
mov ecx, 0x49c930
call fcn.00419350
call dword [sym.imp.ole32.dll_CoUninitialize]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41788c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4178a5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x844]
call fcn.00403160
mov eax, dword [ebp - 0x838]
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.0042734a
mov esp, ebp
pop ebp
ret
push str.Anything.ldsprj
push str.SETUPCONFIG
xor eax, eax
push 0xd1
push dword [0x49c878]
mov eax, dword [eax]
push 0
call dword [eax + 4]
test eax, eax
jne 0x41799b
push 4
push 0x487c90
push eax
call fcn.00412c90
cmp eax, 6
jne 0x417922
push 1
push 0
push 0
push str.http:__search.52toolbox.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x4179df
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x834], eax
push str.720260B5_154E_483f_A485_0B46C3D6C50D
lea eax, [ebp - 0x834]
mov byte [ebp - 4], 8
push str._sInitConfigFaile
push eax
call fcn.004054a0
add esp, 0xc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x834]
mov eax, ebx
mov dword [ebp - 0x838], 9
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4176ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4176ea
push dword [ebp + 0x14]
push dword [ebp - 0x834]
call fcn.00418f70
add esp, 8
mov dword [ebp - 0x838], eax
jmp 0x4176ea
push 0x80004005
call fcn.00401bd0
push 0x80004005
call fcn.00401bd0
push 0x80004005
call fcn.00401bd0
push 0x80004005
call fcn.00401bd0
push 0x80004005
call fcn.00401bd0
int3