Function at 0x41c670
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x46614c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x628], 0
push 0x1ff
push 0
lea eax, [ebp - 0x627]
push eax
call fcn.00448bd0
add esp, 0xc
mov dword [ebp - 0x210], 0x200
mov ecx, 8
mov esi, str.SYSTEMCurrentControlSetEnumUSB
lea edi, [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1de
push 0
lea ecx, [ebp - 0x406]
push ecx
call fcn.00448bd0
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x428]
push eax
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41c73d
xor eax, eax
jmp 0x41c9b1
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x630]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0x103
je 0x41c9a2
cmp dword [ebp - 0x62c], 0
je 0x41c78b
jmp 0x41c9a2
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x830]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41c7b3
jmp 0x41c73d
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x218], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0x103
je 0x41c96d
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c865
cmp dword [ebp - 0x214], 0
je 0x41c832
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 0
je 0x41c848
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x830]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044a980
add esp, 8
mov eax, 1
jmp 0x41c9b1
lea eax, [ebp - 0x224]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41c890
jmp 0x41c7c7
mov dword [ebp - 0x210], 0x200
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x46321c
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41c938
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c938
cmp dword [ebp - 0x224], 0
je 0x41c8f2
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], 0
je 0x41c908
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 0
je 0x41c91e
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x830]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044a980
add esp, 8
mov eax, 1
jmp 0x41c9b1
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], 0x200
jmp 0x41c7c7
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x21c], 0x200
mov edx, dword [ebp - 0x630]
add edx, 1
mov dword [ebp - 0x630], edx
jmp 0x41c73d
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044892a
mov esp, ebp
pop ebp
ret