Function at 0x401fa0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4178d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push 0
push eax
call fcn.00401070
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0
call fcn.00402570
lea ecx, [esp + 8]
push 0x41e7e4
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x70], 1
call fcn.00411218
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x68], 2
call fcn.00402710
test eax, eax
je 0x4022c8
push 0
push 0x41e7d8
lea ecx, [esp + 0x18]
push 0x41e7d0
push ecx
lea ecx, [esp + 0x48]
call fcn.00402e40
mov edx, dword [esp + 0x10]
push 0x41e7c4
push edx
mov byte [esp + 0x6c], 3
call fcn.00405494
add esp, 8
test eax, eax
push 0
je 0x40205f
push 0x41e7b0
call fcn.00401460
add esp, 8
jmp 0x4022ba
push 0x41e7d0
lea eax, [esp + 0x20]
push 0x41e7d0
push eax
lea ecx, [esp + 0x48]
call fcn.00402e40
push eax
mov ecx, 0x421d4c
mov byte [esp + 0x68], 4
call fcn.00411122
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00411035
push 0
push 0x41e7a8
lea ecx, [esp + 0x20]
push 0x41e7d0
push ecx
lea ecx, [esp + 0x48]
call fcn.00402e40
push eax
mov ecx, 0x421d48
mov byte [esp + 0x68], 5
call fcn.00411122
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00411035
push 0
push 0x41e768
lea edx, [esp + 0x20]
push 0x41e7d0
push edx
lea ecx, [esp + 0x48]
call fcn.00402e40
push eax
mov ecx, 0x421d44
mov byte [esp + 0x68], 6
call fcn.00411122
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.00411035
mov esi, dword [esp + 0x74]
push 0x41e7a0
push esi
call fcn.00405543
add esp, 8
test eax, eax
jne 0x40230a
mov dword [0x421d50], 1
push ebx
call fcn.00401e70
call fcn.00401a30
lea ecx, [esp + 0xc]
push 0x41e798
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00411218
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call fcn.004107fb
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push 1
mov ebx, 8
push 0x41e794
push ecx
mov byte [esp + 0x78], bl
call fcn.00401170
add esp, 0x10
test eax, eax
je 0x4021cf
lea edx, [esp + 0x78]
push edx
call fcn.00401590
mov eax, dword [eax]
push eax
call dword [sym.imp.DicMngr.dll_OpenRegisterA]
add esp, 8
lea ecx, [esp + 0x78]
mov esi, eax
call fcn.00411035
test esi, esi
je 0x4021cf
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x4021c9
push ebp
mov ebp, dword [sym.imp.DicMngr.dll_RegisterDictionaryA]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
push eax
call ebp
add esp, 4
inc esi
cmp esi, edi
mov dword [esp + 0x6c], ebx
jl 0x4021b2
pop ebp
call dword [sym.imp.DicMngr.dll_CloseRegister]
lea ecx, [esp + 0x3c]
push 0x41e78c
push ecx
call fcn.00401820
lea edx, [esp + 0x44]
push 0x41e784
push edx
call fcn.00401820
lea eax, [esp + 0x4c]
push 0x41e77c
push eax
call fcn.00401820
lea ecx, [esp + 0x54]
push 0x41e774
push ecx
call fcn.00401820
xor edi, edi
mov dword [esp + 0x3c], edi
lea edx, [esp + 0x40]
mov byte [esp + 0x88], 0xb
push edx
call fcn.00401500
add esp, 0x24
mov eax, dword [eax]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x78]
push ecx
push edx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push 0x80000001
mov dword [esp + 0x9c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40225c
mov edi, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
test eax, eax
lea ecx, [esp + 0x20]
sete bl
call fcn.00411035
test bl, bl
pop ebx
je 0x40228d
mov esi, dword [0x421d44]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push 0
push 0x41e768
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
je 0x40229e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 7
call fcn.0041082e
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.00411035
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 2
call fcn.00411035
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 1
call fcn.00411035
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0
call fcn.00402600
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.00411035
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402129
cmp byte [esi], 0x22
jne 0x402330
inc esi
push 0x22
push esi
call fcn.00405bc5
add esp, 8
mov byte [eax], 0
push esi
call fcn.00401040
add esp, 4
test eax, eax
je 0x402372
lea eax, [esp + 0x74]
push eax
call fcn.00401590
mov eax, dword [eax]
push eax
call dword [sym.imp.DicMngr.dll_OpenRegisterA]
add esp, 8
lea ecx, [esp + 0x74]
mov edi, eax
call fcn.00411035
test edi, edi
je 0x402372
push esi
call dword [sym.imp.DicMngr.dll_RegisterDictionaryA]
add esp, 4
call dword [sym.imp.DicMngr.dll_CloseRegister]
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 2
call fcn.00411035
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 1
call fcn.00411035
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0
call fcn.00402600
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.00411035
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10