Function at 0x418450
Capabilities:
Create thread
Hide graphical window
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x42d00c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x3ef
push ecx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x4186ad
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
push 0x3ee
push esi
call ebx
push 0
push eax
call edi
push 0x3f3
push esi
call ebx
push 0
push eax
call edi
push 0x3f2
push esi
call ebx
push 0
push eax
call edi
push 0x3f0
push esi
call ebx
push 0
push eax
call edi
push 0x3f1
push esi
call ebx
push 0
push eax
call edi
push 0x3ed
push esi
call ebx
push 0
push eax
call edi
push 0x3f4
push esi
call ebx
push 0
push eax
call edi
mov dword [ebp - 0x14], 0x1f
mov dword [ebp - 0x18], 0x13
push 0x20
call fcn.0042557a
add esp, 4
mov dword [eax + 0xc], 0x6d627553
mov dword [eax + 8], 0x676e6972
mov dword [eax + 4], 0x75447472
mov dword [eax], 0x6f706552
mov dword [eax + 0x10], 0x327469
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x40]
mov ecx, 0x42d4ec
push eax
call fcn.0041a4a0
add esp, 4
mov edx, dword [ebp - 0x40]
lea edi, [ebp - 0x40]
mov ecx, edi
add edx, 0x28
call fcn.00411750
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x418572
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x4186c7
push edx
push ecx
call fcn.004255af
add esp, 8
cmp dword [ebp - 0x2c], 7
jbe 0x41857b
mov edi, dword [ebp - 0x40]
push edi
push 0x3f6
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4185ad
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x4186e4
push edx
push eax
call fcn.004255af
add esp, 8
mov ecx, esi
call fcn.004179d0
push 0x3f7
push esi
call ebx
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f7
push esi
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x42d594
mov dword [0x42d624], 0
mov dword [0x42d590], esi
cmp eax, 0x42d5e0
je 0x41867e
mov ecx, 0x42d594
call fcn.00416b00
mov eax, dword [0x42d5e0]
mov edx, dword [0x42d594]
mov ecx, dword [eax + 4]
call fcn.0041beb0
mov ecx, dword [0x42d594]
mov dword [ecx + 4], eax
mov eax, dword [0x42d5e4]
mov dword [0x42d598], eax
mov eax, dword [0x42d594]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
je 0x418650
mov dword [eax], eax
mov eax, dword [0x42d594]
mov dword [eax + 8], eax
jmp 0x41867e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x418650
mov dword [eax], edx
mov eax, dword [0x42d594]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
mov ecx, dword [ecx + 8]
cmp byte [ecx + 0xd], 0
je 0x418670
mov dword [eax + 8], edx
push 0
push 0
push 0x42d590
push 0x411950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42d624], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425eac
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425eac
xor edx, edx
mov ecx, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00418710
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
mov dword [ebp - 0x44], edx
cmp ecx, 0x20
jae 0x4186ff
mov ecx, dword [ebp - 0x44]
add eax, 0x24
mov edx, eax
jmp 0x418568
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4186ff
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x4185a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3