Function at 0x402430
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c4
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x4c0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 1
mov dword [0x42d66c], eax
call fcn.00410a09
add esp, 4
mov dword [0x42d678], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x28], 8
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x2c0
call fcn.00410a09
mov esi, eax
add esp, 4
test esi, esi
je 0x4024ae
push 0x2c0
push 0
push esi
call fcn.00417190
add esp, 0xc
mov ecx, esi
call fcn.00404e50
jmp 0x4024b0
xor eax, eax
push 0x208
mov dword [0x42d670], eax
call fcn.00410a09
mov esi, dword [0x42d670]
add esp, 4
mov dword [0x42d67c], eax
test esi, esi
je 0x402538
test eax, eax
je 0x402519
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
call fcn.00401e70
mov ecx, edi
call fcn.00402090
push str.CViewerFrameUI
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x402568
test esi, esi
je 0x40250f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x42d670]
test esi, esi
je 0x402533
mov ecx, esi
call fcn.00405070
push esi
call fcn.00410a7f
add esp, 4
mov dword [0x42d670], 0
mov eax, dword [0x42d67c]
test eax, eax
je 0x40254f
push eax
call fcn.00410a7f
add esp, 4
mov dword [0x42d67c], 0
mov ecx, dword [esp + 0x4cc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041092e
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x42d670]
cmp dword [eax + 0x38], 0
je 0x402641
push 0x208
call fcn.00410a09
mov esi, eax
add esp, 4
test esi, esi
je 0x40259c
push 0x104
push 0
push esi
call fcn.00417190
add esp, 0xc
jmp 0x40259e
xor esi, esi
mov ecx, esi
call fcn.00404600
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2ca]
push eax
call fcn.00417190
add esp, 0xc
call fcn.00405300
push eax
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
call fcn.00405490
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [esp + 0x2c4]
push eax
call esi
push 0x425a2c
lea eax, [esp + 0x2c4]
push eax
call esi
push 0x425a30
lea eax, [esp + 0x2c4]
push eax
call esi
lea eax, [esp + 0x2c0]
push eax
push str.fastsee
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00406f70
sub esp, 8
lea eax, [esp + 0x2c8]
push eax
push ecx
call fcn.00408480
jmp 0x40254f
push 0x1c4
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00417190
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00405bc0
push dword [ebp + 0x14]
lea ecx, [esp + 0x34]
call fcn.00406190
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xc]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x40274b
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x402690
cmp dword [esp + 0x10], 0x100
jne 0x402720
mov eax, dword [esp + 0x14]
cmp eax, 9
jne 0x4026be
mov ecx, dword [esp + 0xc]
call fcn.00401ff0
cmp dword [esp + 0x10], 0x100
jne 0x402720
mov eax, dword [esp + 0x14]
cmp eax, 0xd
jne 0x402720
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x200], ax
lea eax, [esp + 0x202]
push eax
call fcn.00417190
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x402720
push 0x64
lea ecx, [esp + 0x1fc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.Button
lea eax, [esp + 0x1fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x402720
push eax
push eax
push 0xf5
push dword [esp + 0x18]
call edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call ebx
test eax, eax
jne 0x402690
test esi, esi
je 0x402756
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x42d670]
test esi, esi
je 0x40277a
mov ecx, esi
call fcn.00405070
push esi
call fcn.00410a7f
add esp, 4
mov dword [0x42d670], 0
mov eax, dword [0x42d67c]
test eax, eax
je 0x402796
push eax
call fcn.00410a7f
add esp, 4
mov dword [0x42d67c], 0
lea ecx, [esp + 0x30]
call fcn.00405e50
jmp 0x40254f