Function at 0x4196c0
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 [0x42f00c]
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 0x41991d
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.00426cac
add esp, 4
mov dword [eax + 0xf], 0x3274696d
mov dword [eax + 0xc], 0x6d627553
mov dword [eax + 8], 0x676e6972
mov dword [eax + 4], 0x75447472
mov dword [eax], 0x6f706552
mov byte [eax + 0x13], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x40]
mov ecx, 0x42f4ec
push eax
call fcn.0041b740
add esp, 4
mov edx, dword [ebp - 0x40]
lea edi, [ebp - 0x40]
mov ecx, edi
add edx, 0x28
call fcn.004129a0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4197e6
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x419952
push edx
push ecx
call fcn.00426ce1
add esp, 8
cmp dword [ebp - 0x2c], 7
jbe 0x4197ef
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 0x419821
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x419937
push edx
push eax
call fcn.00426ce1
add esp, 8
mov ecx, esi
call fcn.00418c40
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, 0x42f594
mov dword [0x42f624], 0
mov dword [0x42f590], esi
cmp eax, 0x42f5e0
je 0x4198ee
mov ecx, 0x42f594
call fcn.00417d90
mov eax, dword [0x42f5e0]
mov edx, dword [0x42f594]
mov ecx, dword [eax + 4]
call fcn.0041d290
mov ecx, dword [0x42f594]
mov dword [ecx + 4], eax
mov eax, dword [0x42f5e4]
mov dword [0x42f598], eax
mov eax, dword [0x42f594]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
je 0x4198c0
mov dword [eax], eax
mov eax, dword [0x42f594]
mov dword [eax + 8], eax
jmp 0x4198ee
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4198c0
mov dword [eax], edx
mov eax, dword [0x42f594]
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 0x4198e0
mov dword [eax + 8], edx
push 0
push 0
push 0x42f590
push 0x412ba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x42f624], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
mov ecx, esi
xor edx, edx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00419980
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41996f
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x419817
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
mov dword [ebp - 0x44], edx
cmp ecx, 0x20
jae 0x41996f
mov ecx, dword [ebp - 0x44]
add eax, 0x24
mov edx, eax
jmp 0x4197dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3