Function at 0x402250
Capabilities:
Accept command line arguments
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x438
mov eax, dword [0x417008]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, dword [esi]
push ebx
push ebp
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x238]
mov edx, dword [esi + 0x230]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x234]
mov dword [esi + 0x238], eax
mov eax, dword [esi + 0x23c]
push eax
push ecx
call edi
mov edx, dword [esi + 0x238]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
mov dword [esi + 0x23c], eax
call edi
mov eax, dword [esi + 0x23c]
push eax
call edi
mov ecx, dword [esi + 0x230]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push ecx
call edi
mov edx, dword [esi + 0x234]
push edx
call edi
push 0x413c64
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ebx, [esi + 8]
push ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push 0x80000001
call ebp
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x402439
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.x_win
push edx
call edi
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.y_win
push ecx
call edi
mov eax, dword [esp + 0x10]
push 4
lea edx, [esi + 0x240]
push edx
push 4
push 0
push str.size_win
push eax
call edi
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esi + 0x250]
push ecx
push 4
push 0
push str.show.date
push edx
call edi
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esi + 0x254]
push eax
push 4
push 0
push str.show.digital_clock
push ecx
call edi
mov eax, dword [esp + 0x10]
push 4
lea edx, [esi + 0x258]
push edx
push 4
push 0
push str.show.hand_markers
push eax
call edi
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esi + 0x25c]
push ecx
push 4
push 0
push str.show.second_hand
push edx
call edi
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esi + 0x248]
push eax
push 4
push 0
push str.topmost
push ecx
call edi
push 4
lea edx, [esi + 0x244]
push edx
push 4
mov eax, dword [esp + 0x1c]
push 0
push str.color_secondary
push eax
call edi
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esi + 0x22c]
push ecx
push 4
push 0
push str.serial_number
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call ebp
test eax, eax
jne 0x4024ba
cmp dword [esi + 0x24c], eax
je 0x4024a3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x234]
push eax
push 1
push 0
push ebx
push ecx
call edi
jmp 0x4024af
mov edx, dword [esp + 0x10]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x43c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004048cc
add esp, 0x438
ret