Function at 0x418ba0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x53925f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x5ab980]
mov dword [esp + 0x26c], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x278]
mov dword [esp + 0x1c], 0
mov bl, 5
mov ecx, dword [eax - 8]
mov byte [esp + 0x26c], bl
test ecx, ecx
jne 0x418c15
push str.SOFTWAREClassesTypeLib
lea ecx, [esp + 0x27c]
call fcn.00512a6d
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x24]
push ecx
push 0xf003f
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418cac
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 4
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26c], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x26c], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 0
call fcn.005128e4
lea ecx, [esp + 0x278]
mov dword [esp + 0x26c], 0xffffffff
call fcn.005128e4
or eax, 0xffffffff
jmp 0x419158
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push 0x200
push eax
push 0
push ecx
mov dword [esp + 0x4c], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4190dc
lea edx, [esp + 0x64]
lea ecx, [esp + 0x18]
push edx
call fcn.00512a6d
mov esi, dword [esp + 0x274]
push 0
push 0
mov ecx, esi
call fcn.00459410
test eax, eax
jne 0x419173
mov eax, dword [esp + 0x18]
push str.win32
push eax
call fcn.004f9670
add esp, 8
lea ecx, [esp + 0x278]
test eax, eax
push 0x5971e8
push ecx
je 0x418d91
lea edx, [esp + 0x64]
push edx
call fcn.00512b79
lea ecx, [esp + 0x64]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0x278], 6
call fcn.00512b79
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x270], 7
call fcn.00512a1d
lea ecx, [esp + 0x50]
mov byte [esp + 0x26c], 6
call fcn.005128e4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26c], bl
call fcn.005128e4
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00512659
push esi
mov ecx, ebp
call fcn.00418ba0
jmp 0x4190b3
lea edx, [esp + 0x68]
push edx
call fcn.00512b79
lea ecx, [esp + 0x64]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x278], 8
call fcn.00512b79
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x270], 9
call fcn.00512a1d
lea ecx, [esp + 0x48]
mov byte [esp + 0x26c], 8
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0x26c], bl
call fcn.005128e4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push 0xf003f
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4190b3
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x58]
lea eax, [esp + 0x64]
push edx
push eax
push 0
push 0
push 0
push ecx
mov dword [esp + 0x70], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x44]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4190b3
lea eax, [esp + 0x64]
lea ecx, [esp + 0x40]
push eax
call fcn.00512952
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x274], 0xa
call fcn.0041ff60
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne byte [esp + 0x23]
mov byte [esp + 0x26c], bl
call fcn.005128e4
mov al, byte [esp + 0x23]
test al, al
je 0x418eae
lea eax, [esp + 0x64]
push 0x5c
push eax
call fcn.004f9be0
add esp, 8
test eax, eax
jne 0x4190b3
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call fcn.00512a6d
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00512dab
cmp eax, 1
jge 0x418ef2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.00420e80
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x270], 0xb
call fcn.00512a1d
lea ecx, [esp + 0x4c]
mov byte [esp + 0x26c], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
call fcn.00512e06
push 0x5c
lea ecx, [esp + 0x27c]
call fcn.0050e31f
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x280]
call fcn.0050e2a7
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x270], 0xc
call fcn.00512a1d
lea ecx, [esp + 0x54]
mov byte [esp + 0x26c], bl
call fcn.005128e4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
lea edi, [ebp + 4]
push edx
push eax
mov ecx, edi
call fcn.00512044
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41902e
push 0x1c
call fcn.00516a15
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x26c], 0xd
je 0x418f8a
push 0xa
mov ecx, esi
call fcn.00510deb
mov dword [esi], method.CStringList.virtual_0
jmp 0x418f8c
xor esi, esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x274], bl
mov dword [esp + 0x24], esi
call fcn.00512659
mov ecx, dword [esp + 0x20]
call fcn.004158e0
push 0x598d10
lea ecx, [esp + 0x18]
call fcn.0050e341
push 0x596eac
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0050e341
sub eax, esi
inc esi
push eax
lea eax, [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0050e195
mov ecx, dword [esp + 0x1c]
push 1
push 0
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x280], 0xe
call fcn.00417230
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00512659
mov ecx, edi
call fcn.0041b790
mov byte [esp + 0x26c], bl
lea ecx, [esp + 0x34]
jmp 0x4190a6
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00512659
mov ecx, dword [esp + 0x20]
call fcn.004158e0
push 0x598d10
lea ecx, [esp + 0x18]
call fcn.0050e341
push 0x596eac
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0050e341
sub eax, esi
inc esi
push eax
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.0050e195
mov edx, dword [esp + 0x1c]
push 0
push 0
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x280], 0xf
call fcn.00417230
mov byte [esp + 0x26c], bl
lea ecx, [esp + 0x38]
call fcn.005128e4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x64]
mov eax, ecx
push 0x200
push edx
push eax
mov eax, dword [esp + 0x30]
inc ecx
push eax
mov dword [esp + 0x4c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x418cd3
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 4
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26c], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x26c], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 0
call fcn.005128e4
lea ecx, [esp + 0x278]
mov dword [esp + 0x26c], 0xffffffff
call fcn.005128e4
mov eax, 1
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x260
ret 8
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x26c], 4
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 3
call fcn.005128e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26c], 2
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x26c], 1
call fcn.005128e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 0
call fcn.005128e4
lea ecx, [esp + 0x278]
mov dword [esp + 0x26c], 0xffffffff
call fcn.005128e4
mov eax, 0xfffffc19
jmp 0x419158