Function at 0x402450
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.004105e9
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 0xb8
call fcn.004105e9
mov esi, eax
add esp, 4
test esi, esi
je 0x4024ce
push 0xb8
push 0
push esi
call fcn.00416d70
add esp, 0xc
mov ecx, esi
call fcn.00404d50
jmp 0x4024d0
xor eax, eax
push 0x208
mov dword [0x42d670], eax
call fcn.004105e9
mov esi, dword [0x42d670]
add esp, 4
mov dword [0x42d67c], eax
test esi, esi
je 0x402770
test eax, eax
je 0x402751
push str.riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
call fcn.00401ea0
mov ecx, edi
call fcn.004020b0
mov ecx, dword [0x42d670]
cmp dword [ecx + 0x38], 0
je 0x4025f0
push 0x208
call fcn.004105e9
mov esi, eax
add esp, 4
test esi, esi
je 0x40254b
push 0x104
push 0
push esi
call fcn.00416d70
add esp, 0xc
jmp 0x40254d
xor esi, esi
mov ecx, esi
call fcn.00404500
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2ca]
push eax
call fcn.00416d70
add esp, 0xc
call fcn.00405180
push eax
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
call fcn.00405330
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [esp + 0x2c4]
push eax
call esi
push 0x425a04
lea eax, [esp + 0x2c4]
push eax
call esi
push 0x425a08
lea eax, [esp + 0x2c4]
push eax
call esi
lea eax, [esp + 0x2c0]
push eax
push str.XCWiFi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00406e70
sub esp, 8
lea eax, [esp + 0x2c8]
push eax
push ecx
call fcn.00408270
jmp 0x402787
push 0x1c4
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00416d70
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00405a80
push dword [ebp + 0x14]
lea ecx, [esp + 0x34]
call fcn.00406050
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xc]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x4026fb
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
lea ebx, [ebx]
cmp dword [esp + 0x10], 0x100
jne 0x4026d0
mov eax, dword [esp + 0x14]
cmp eax, 9
jne 0x40266e
mov ecx, dword [esp + 0xc]
call fcn.00402010
cmp dword [esp + 0x10], 0x100
jne 0x4026d0
mov eax, dword [esp + 0x14]
cmp eax, 0xd
jne 0x4026d0
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x200], ax
lea eax, [esp + 0x202]
push eax
call fcn.00416d70
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x4026d0
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 0x4026d0
push eax
push eax
push 0xf5
push dword [esp + 0x18]
call esi
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 edi
test eax, eax
jne 0x402640
test ebx, ebx
je 0x402706
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x42d670]
test esi, esi
je 0x40272a
mov ecx, esi
call fcn.00404f60
push esi
call fcn.0041065f
add esp, 4
mov dword [0x42d670], 0
mov eax, dword [0x42d67c]
test eax, eax
je 0x402746
push eax
call fcn.0041065f
add esp, 4
mov dword [0x42d67c], 0
lea ecx, [esp + 0x30]
call fcn.00405d20
jmp 0x402787
mov ecx, esi
call fcn.00404f60
push esi
call fcn.0041065f
mov eax, dword [0x42d67c]
add esp, 4
mov dword [0x42d670], 0
test eax, eax
je 0x402787
push eax
call fcn.0041065f
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.0041050e
mov esp, ebp
pop ebp
ret 0x10