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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x73c
mov dword [ebp - 0x73c], ecx
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x480], 0
jg 0x40bd0b
mov eax, 1
jmp 0x40c1c1
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 0
jmp 0x40bd30
mov edx, dword [ebp - 0x510]
add edx, 1
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x510]
cmp edx, dword [ecx + 0x480]
jge 0x40bd77
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x510]
imul edx, edx, 0x28
mov eax, dword [ecx + 0x80]
cmp dword [eax + edx + 4], 0
je 0x40bd75
mov ecx, dword [ebp - 0x50c]
add ecx, 1
mov dword [ebp - 0x50c], ecx
jmp 0x40bd21
cmp dword [ebp - 0x50c], 0
jg 0x40bd8a
mov eax, 1
jmp 0x40c1c1
push 0
push 0
push 0
push str.copy_files
push 0x200
lea edx, [ebp - 0x200]
push edx
mov ecx, 0x42fdb8
call fcn.0041c3a0
push 0
push 0
push 0
push str.install_plugin
push 0x200
lea eax, [ebp - 0x508]
push eax
mov ecx, 0x42fdb8
call fcn.0041c3a0
lea ecx, [ebp - 0x508]
push ecx
lea edx, [ebp - 0x200]
push edx
mov ecx, dword [ebp - 0x73c]
call fcn.0040c650
mov ecx, dword [ebp - 0x73c]
call fcn.0040dc60
test eax, eax
je 0x40bdfb
xor eax, eax
jmp 0x40c1c1
push 0x42a918
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x470]
push edx
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
add ecx, 0x188
push ecx
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 0x180]
push eax
mov ecx, dword [ebp - 0x73c]
call fcn.0040d9d0
test eax, eax
jne 0x40be43
xor eax, eax
jmp 0x40c1c1
mov ecx, dword [ebp - 0x73c]
add ecx, 0x184
push ecx
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 4]
add eax, 0x188
push eax
push str.folder
mov ecx, dword [0x42f060]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x104
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x42a924
lea eax, [ebp - 0x308]
push eax
call fcn.0041e1c0
add esp, 8
mov dword [ebp - 0x510], 0
jmp 0x40beb2
mov ecx, dword [ebp - 0x510]
add ecx, 1
mov dword [ebp - 0x510], ecx
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [eax + 0x480]
jge 0x40c1bc
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x510]
imul ecx, ecx, 0x28
add ecx, dword [eax + 0x80]
mov dword [ebp - 0x514], ecx
mov edx, dword [ebp - 0x514]
cmp dword [edx + 4], 0
je 0x40c1b7
mov ecx, dword [ebp - 0x73c]
call fcn.0040c600
mov ecx, dword [ebp - 0x73c]
call fcn.0040dc60
test eax, eax
je 0x40bf1c
xor eax, eax
jmp 0x40c1c1
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x18]
and ecx, 1
je 0x40bf81
push 0
push 0x17
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x73c]
mov edx, dword [ecx + 4]
add edx, 0x188
push edx
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x458]
push edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x514]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x73c]
call fcn.0040b480
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x18]
and ecx, 2
je 0x40bfd8
push 0
push 0x19
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x73c]
mov edx, dword [ecx + 4]
add edx, 0x188
push edx
push 0
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x514]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x73c]
call fcn.0040b480
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x18]
and ecx, 4
je 0x40c02f
push 0
push 7
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x73c]
mov edx, dword [ecx + 4]
add edx, 0x188
push edx
push 0
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x514]
mov edx, dword [ecx + 8]
push edx
mov ecx, dword [ebp - 0x73c]
call fcn.0040b480
mov eax, dword [ebp - 0x73c]
mov ecx, dword [eax + 4]
add ecx, 0x188
push ecx
lea edx, [ebp - 0x620]
push edx
call fcn.0041e1b0
add esp, 8
push 0x42a930
lea eax, [ebp - 0x620]
push eax
call fcn.0041e1c0
add esp, 8
mov ecx, dword [ebp - 0x514]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0x620]
push eax
call fcn.0041e1c0
add esp, 8
lea ecx, [ebp - 0x620]
push ecx
lea edx, [ebp - 0x738]
push edx
call fcn.0041e1b0
add esp, 8
mov eax, dword [ebp - 0x514]
cmp dword [eax + 0x14], 0
je 0x40c0ca
push 0x42a934
lea ecx, [ebp - 0x738]
push ecx
call fcn.0041e1c0
add esp, 8
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x738]
push ecx
call fcn.0041e1c0
add esp, 8
push 0x42a938
lea edx, [ebp - 0x738]
push edx
call fcn.0041e1c0
add esp, 8
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [ebp - 0x738]
push edx
call fcn.0041e1c0
add esp, 8
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x738]
push ecx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x20]
push eax
push 0x42a93c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xa
lea ecx, [ebp - 0x62c]
push ecx
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 0x28c]
push eax
call fcn.00422515
add esp, 0xc
mov ecx, dword [ebp - 0x73c]
add ecx, 0x184
push ecx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push str.Plugins
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x73c]
mov eax, dword [edx + 0x28c]
add eax, 1
mov ecx, dword [ebp - 0x73c]
mov dword [ecx + 0x28c], eax
mov edx, dword [ebp - 0x73c]
cmp dword [edx + 8], 0
jne 0x40c1b7
mov eax, dword [ebp - 0x514]
cmp dword [eax + 0x24], 0
je 0x40c1b7
push str.__property
lea ecx, [ebp - 0x620]
push ecx
call fcn.0041e1c0
add esp, 8
push 5
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40bea3
mov eax, 1
mov esp, ebp
pop ebp
ret