Function at 0x42d287
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2dc
mov eax, dword [0x46700c]
xor eax, esp
mov dword [esp + reloc.ADVAPI32.dll_TraceMessage], eax
push ebx
mov ebx, dword [0x468600]
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x20019
xor edi, edi
push edi
push 0x401478
push 0x80000001
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d471
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x18]
push eax
push edi
push 0x40157c
push dword [esp + 0x28]
xor esi, esi
inc esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d446
cmp dword [esp + 0x10], esi
jne 0x42d446
mov dword [esp + 0x24], edi
mov esi, 0x41bda0
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41be00
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41bd24
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, reloc.KERNEL32.dll_InitializeCriticalSection
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41bdc0
lea edi, [esp + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41be20
lea edi, [esp + 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41be40
lea edi, [esp + 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41be70
lea edi, [esp + 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41be30
lea edi, [esp + 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41bd34
lea edi, [esp + 0xc8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0xdc]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CLSIDFromString]
xor eax, eax
lea edx, [esp + 0x38]
push 4
xor ebx, ebx
mov ebx, dword [esp + 0x24]
pop ecx
lea edi, [esp + 0x28]
mov esi, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x42d3ee
inc eax
add edx, 0x10
cmp eax, 0xa
jb 0x42d3ce
mov eax, dword [esp + 0x24]
inc eax
push eax
call fcn.0043f9b4
push 4
pop esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
xor edi, edi
push edi
push 0x40159c
push dword [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d467
cmp dword [esp + 0x10], esi
jne 0x42d467
push dword [esp + 0x1c]
call fcn.0043f83d
push dword [esp + 0x1c]
push 0x4015c4
call fcn.00440126
pop ecx
pop ecx
jmp 0x42d467
push dword [0x469220]
call fcn.0043f83d
mov eax, dword [0x469220]
inc eax
mov dword [0x469220], eax
cmp eax, 0x1e
jbe 0x42d467
mov dword [0x469220], edi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4683f4], 0
je 0x42d4af
mov eax, dword [0x468600]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42d490
push eax
call esi
test eax, eax
jne 0x42d4a9
push ebx
mov dword [0x468600], ebx
call esi
test eax, eax
jne 0x42d4a9
push 0x4015e4
push 2
call fcn.004400fc
push edi
call fcn.0043faab
mov ecx, dword [esp + reloc.ADVAPI32.dll_TraceMessage]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004655f1
mov esp, ebp
pop ebp
ret