Function at 0x401da0
Capabilities:
Accept command line arguments
Create process on windows
Delete file
Delete registry key
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x434d86
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x445658]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov eax, dword [0x445658]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00406344
mov eax, dword [esi + 0x78]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.00421d50
add esp, 0xc
lea ecx, [esp + 0x220]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00421d50
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x28]
push 0x43c0e0
push edx
call fcn.0042065b
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
push ecx
call fcn.00402d70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call fcn.00403890
lea ebx, [esp + 0x10]
mov dword [esp + 0x434], 0
call fcn.00402e90
mov eax, 0x20
call fcn.00402e10
mov eax, 0x22
call fcn.00402e10
mov edx, dword [esp + 0x10]
push 0x5c
push edx
call fcn.00420732
add esp, 8
test eax, eax
jne 0x401ed2
or eax, 0xffffffff
jmp 0x401ed8
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00402fb0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x438], 1
call fcn.00403620
mov byte [esp + 0x434], 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 0x401f21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
lea edi, [esi + 0x74]
push ecx
mov ecx, edi
call fcn.00403620
call fcn.00402d00
call fcn.00402b00
call fcn.004023c0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallieasy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
lea edx, [esp + 0x18]
push 0x43c100
push edx
call fcn.00403110
mov eax, dword [eax]
add esp, 0xc
push 0
push 0
push eax
lea eax, [esp + 0x24]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
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 0x401f9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x15c]
mov ecx, esi
call eax
mov dword [esp + 0x434], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004203e3
add esp, 0x428
ret