Function at 0x410e30
Capabilities:
Copy file
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523786
mov eax, dword fs:[0]
push eax
mov eax, 0x18c8
call fcn.004e1d80
mov eax, dword [0x575464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea ecx, [ebp - 0x1050]
call fcn.00411410
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0043ad50
push str..exe
push str.PsImageEdit_uninst_worker
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.00505274
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.0049e2a0
add esp, 0x24
lea ecx, [ebp - 0xc40]
call fcn.00411360
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0043ad50
push str..exe
push str.PsImageEdit_inst
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00505274
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xa38]
add esp, 0x18
push 0
push eax
lea eax, [ebp - 0xc40]
push eax
call edi
push 0
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x1050]
push eax
call edi
push 0x208
push 0
test eax, eax
je 0x4111bb
lea eax, [ebp - 0x1460]
push eax
call fcn.0049e2a0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1460]
add esp, 0xc
push 0x104
push eax
push 0
call esi
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
call esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x1258]
push 0x208
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea edx, [ebp - 0x1258]
call fcn.0043ad50
push str..exe
push str.PsImageEdit_un_asa
lea eax, [ebp - 0x1258]
push eax
push 0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00505274
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049e2a0
add esp, 0x24
lea edx, [ebp - 0x420]
call fcn.0043ad50
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1460]
push eax
call edi
test eax, eax
je 0x411343
push str._instdir
lea ecx, [ebp - 0x18b8]
call fcn.00405d20
mov dword [ebp - 4], 0
mov esi, 0x57aa18
cmp dword [0x57aa2c], 8
mov ecx, eax
push 1
cmovae esi, dword [0x57aa18]
push 0x55f740
call fcn.00405630
cmp word [ebp - 0x628], 0
mov edi, eax
jne 0x4110b5
xor ecx, ecx
jmp 0x4110cf
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4110c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
call fcn.00405630
push 2
push 0x55f744
mov ecx, eax
call fcn.00405630
cmp word [esi], 0
mov edi, eax
jne 0x4110f8
xor ecx, ecx
jmp 0x41110f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411100
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00405630
xor ecx, ecx
mov dword [ebp - 0x1874], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x1888], cx
lea ecx, [ebp - 0x1888]
push eax
mov dword [ebp - 0x1878], 0
call fcn.00405870
mov eax, dword [ebp - 0x18a4]
cmp eax, 8
jb 0x411162
inc eax
lea ecx, [ebp - 0x18b8]
push eax
push dword [ebp - 0x18b8]
call fcn.00405d80
cmp dword [ebp - 0x1874], 8
lea ecx, [ebp - 0x420]
push 1
push ecx
lea eax, [ebp - 0x1888]
cmovae eax, dword [ebp - 0x1888]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x1874]
cmp eax, 8
jb 0x411343
inc eax
lea ecx, [ebp - 0x1888]
push eax
push dword [ebp - 0x1888]
call fcn.00405d80
jmp 0x411343
lea eax, [ebp - 0x1668]
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x1668]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.0049e2a0
add esp, 0xc
lea edx, [ebp - 0x420]
call fcn.0043ad50
push str..exe
push str.PsImageEdit_un_asa
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00505274
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.0049e2a0
add esp, 0x24
lea edx, [ebp - 0x1870]
call fcn.0043ad50
push 1
push 0x55f014
push 0x55f74c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x41127a
push 0xffffffffffffffff
call fcn.005056b5
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x1668]
push eax
call edi
test eax, eax
je 0x411343
push str._instdir
lea ecx, [ebp - 0x18d0]
call fcn.00405d20
push 0x55f740
push str.Test
push 0x55f740
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00405760
mov ecx, eax
call fcn.00405760
mov ecx, eax
call fcn.00405760
xor ecx, ecx
mov dword [ebp - 0x188c], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x18a0], cx
lea ecx, [ebp - 0x18a0]
push eax
mov dword [ebp - 0x1890], 0
call fcn.00405870
lea ecx, [ebp - 0x18d0]
call fcn.00405e50
cmp dword [ebp - 0x188c], 8
lea ecx, [ebp - 0x1870]
push 1
push ecx
lea eax, [ebp - 0x18a0]
cmovae eax, dword [ebp - 0x18a0]
push eax
lea eax, [ebp - 0x830]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18a0]
call fcn.00405e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0f8e
mov esp, ebp
pop ebp
ret