Function at 0x41e390
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x457dd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x520
push edi
mov dword [esp + 0x2c], ecx
push str.COUNTRY
lea ecx, [esp + 0x24]
mov dword [esp + 0x530], 0
mov dword [esp + 0x20], 0
call fcn.0044a442
push eax
lea eax, [esp + 0x538]
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x538], 1
call fcn.0044a5b7
lea ecx, [esp + 0x20]
mov byte [esp + 0x52c], 3
call fcn.0044a3d4
mov edx, dword [0x471df4]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
mov byte [esp + 0x52c], 4
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x41e5dd
lea edx, [esp + 0x38]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41e5d2
push ebx
push esi
mov bl, 7
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
call fcn.0044a442
mov esi, eax
push 0x46a404
lea ecx, [esp + 0x3c]
mov byte [esp + 0x538], 5
call fcn.0044a442
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x40]
push edx
push eax
mov byte [esp + 0x540], 6
call fcn.0044a5b7
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x540], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 8
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x534], bl
call fcn.0044a3d4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x534], 6
call fcn.0044a3d4
lea ecx, [esp + 0x38]
mov byte [esp + 0x534], 5
call fcn.0044a3d4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x534], 4
call fcn.0044a3d4
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call edi
test eax, eax
jne 0x41e5a7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x144]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x2c]
push str.V92_CONTROL
push eax
mov dword [esp + 0x28], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41e59c
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
test eax, eax
mov al, byte [esp + 0x146]
je 0x41e56a
or al, 2
jmp 0x41e56c
and al, 0xfd
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x146], al
lea eax, [esp + 0x144]
push edx
push eax
push 3
push 0
push str.V92_CONTROL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x40]
push 0x104
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x41e467
pop esi
pop ebx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov byte [esp + 0x52c], 3
call fcn.0044a3d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x52c], 0
call fcn.0044a3d4
lea ecx, [esp + 0x534]
mov dword [esp + 0x52c], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x524]
mov eax, dword [esp + 0x1c]
pop edi
mov dword fs:[0], ecx
add esp, 0x52c
ret 4