Function at 0x41fd80
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x470
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
mov ebx, dword [esp + 0x478]
xor eax, eax
push ebp
push esi
push edi
push 0x206
push eax
mov word [esp + 0x74], ax
mov esi, ecx
lea eax, [esp + 0x76]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], ebx
call fcn.0048e880
add esp, 0xc
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fffe
push 0x206
push eax
mov word [esp + 0x27c], ax
lea eax, [esp + 0x27e]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x1c], 0x104
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push edi
push edi
push edi
push eax
lea eax, [esp + 0x288]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x41fff8
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax]
inc edi
cmp dword [0x4c5194], 0
je 0x420029
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x280]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ffbf
push eax
push eax
push eax
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [esp + 0x20], 0
jne 0x41ffbf
cmp dword [esp + 0x24], 0
push dword [esp + 0x14]
jne 0x41ffc3
call esi
cmp dword [esp + 0x488], 0
jne 0x42001c
push dword [esp + 0x28]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [esp + 0x2c]
lea eax, [esp + 0x70]
push eax
call ebx
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x70]
push eax
call ebx
lea ecx, [esp + 0x6c]
call fcn.0041d690
test eax, eax
jne 0x41ffc5
push eax
push eax
push 0x1004
push dword [esp + 0x24]
mov dword [0x4cfb28], 7
call ebp
push 0x4cfb0c
push 0
push 0x104d
push dword [esp + 0x24]
mov dword [0x4cfb10], eax
lea eax, [esp + 0x7c]
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call ebp
mov edx, 0x4af21c
mov dword [esp + 0x38], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4cfb10]
push 0x1074
push dword [esp + 0x24]
call ebp
mov edx, 0x4af21c
mov dword [esp + 0x38], 2
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4cfb10]
push 0x1074
push dword [esp + 0x24]
call ebp
jmp 0x41ffc5
push dword [esp + 0x14]
call esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x104
push eax
lea eax, [esp + 0x288]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x41fe60
push dword [esp + 0x10]
call esi
mov eax, 1
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x470
ret
push dword [esp + 0x10]
call esi
mov eax, 0xa
jmp 0x420003
call fcn.004227e0
int3