Function at 0x41e460
Capabilities:
Accept command line arguments
Check mutex on windows
Create process on windows
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x460080]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x459038
push 1
push 0
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x41e89b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41e89b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov byte [esp + 0x10], 0
test edi, edi
je 0x41e52a
xor esi, esi
cmp dword [esp + 0x2c], esi
jle 0x41e51f
nop
mov ecx, dword [edi + esi*4]
mov eax, str.__remove_old_app
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41e4fe
test dx, dx
je 0x41e4fa
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41e4fe
add ecx, 4
add eax, 4
test dx, dx
jne 0x41e4d8
xor eax, eax
jmp 0x41e503
sbb eax, eax
or eax, 1
mov edx, dword [esp + 0x10]
test eax, eax
movzx edx, dl
mov eax, 1
cmove edx, eax
inc esi
mov dword [esp + 0x10], edx
cmp esi, dword [esp + 0x2c]
jl 0x41e4d0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x14]
push 8
call fcn.004281b7
mov ecx, dword [esp + 0x14]
add esp, 4
mov byte [eax], cl
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
push 0x41ec90
push 0
push 0
mov dword [eax + 4], 0x4261a0
call fcn.0042d10c
add esp, 0x18
mov dword [esp + 0x24], eax
test eax, eax
je 0x41e8d0
push str.Ms_Shell_Dlg_2
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 5
push 0xd
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x7f00
push 0
mov dword [0x462518], eax
mov dword [0x462408], 0x30
mov dword [0x46240c], 0
mov dword [0x462410], 0x41e8e0
mov dword [0x462414], 0
mov dword [0x462418], 0
mov dword [0x46241c], esi
mov dword [0x462420], 0
mov dword [0x462434], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xf0f0f0
mov dword [0x462424], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x462408
mov dword [0x462428], eax
mov dword [0x46242c], 0
mov dword [0x462430], 0x459038
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x41e62d
or eax, 0xffffffff
jmp 0x41e892
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
call edi
mov ecx, dword [0x460b38]
xorps xmm0, xmm0
add ecx, eax
movaps xmmword [esp + 0x30], xmm0
push 1
mov dword [esp + 0x14], ecx
mov dword [0x460b38], ecx
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
call edi
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x460b38]
cdq
sub eax, edx
sar esi, 1
sar eax, 1
push 0
sub esi, eax
call edi
push 0
push dword [esp + 0x18]
cdq
push 0
push 0
push dword [esp + 0x20]
sub eax, edx
push 0x18c
push esi
sar eax, 1
sub eax, 0xc6
push eax
push 0x4ca08cc
push dword [0x46249c]
push 0x459038
push 0x30101
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x462440], eax
test eax, eax
jne 0x41e6c7
mov eax, 1
jmp 0x41e892
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
mov edi, eax
push 0
push 0xf030
push edi
call esi
push 0
push 0xf000
push edi
call esi
push dword [ebp + 0x14]
push dword [0x462440]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x462440]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 4
call fcn.004281b7
add esp, 4
lea ecx, [esp + 0x20]
mov dword [eax], 0x41ecf0
push ecx
push 0
push eax
push 0x403500
push 0
push 0
call fcn.0042d10c
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41e8c1
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x30]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x41e794
mov edi, dword [sym.imp.USER32.dll_PostQuitMessage]
nop dword [eax]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x46245c], 0
je 0x41e783
push 0
call edi
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call esi
test eax, eax
jne 0x41e760
mov eax, dword [esp + 0x20]
mov byte [0x46245c], 1
test eax, eax
je 0x41e7c1
push eax
push dword [esp + 0x20]
call fcn.00426e61
add esp, 8
test eax, eax
jne 0x41e8b0
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41e7e7
push eax
push dword [esp + 0x28]
call fcn.00426e61
add esp, 8
test eax, eax
jne 0x41e8b0
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
call fcn.004266f0
call fcn.00401c40
call fcn.00405700
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x462407], 0
je 0x41e878
lea ecx, [esp + 0x54]
call fcn.00421b90
sub esp, 0x18
lea eax, [esp + 0x6c]
mov ecx, esp
push eax
call fcn.0040a750
call fcn.004267b0
add esp, 0x18
push 1
push 0
push str.__remove_old_app
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x68]
cmp ecx, 7
jbe 0x41e878
mov edx, dword [esp + 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e86e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e8b7
push ecx
push edx
call fcn.004281e7
add esp, 8
push dword [0x46241c]
push dword [0x462430]
call dword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
cmp dword [esp + 0x20], eax
jne 0x41e8bc
cmp dword [esp + 0x28], 0
jne 0x41e8bc
jmp 0x41e89d
xor eax, eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.004281a9
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.00426c2e
call fcn.0042cf5f
call fcn.0042d19d
push 6
mov dword [esp + 0x24], 0
call fcn.00426c2e
push 6
mov dword [esp + 0x2c], 0
call fcn.00426c2e
int3