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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xa0]
push ebx
push esi
push edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x78], al
lea eax, [ebp - 4]
call fcn.0040a420
mov eax, dword [ebp + 0x18]
call fcn.0040cff0
lea eax, [ebp + 0xc]
call fcn.0040a420
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
xor eax, eax
push fcn.00438990
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x88]
or eax, 0x20019
push eax
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x438b03
mov eax, 0x6722f0
push eax
push dword [ebp - 0x84]
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x438fb8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push dword [ebp - 0x18]
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x438fb8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x90], 1
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.0040aaa0
lea eax, [ebp - 0x34]
mov edx, 0x104
call fcn.0040aaa0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
mov edx, 0x622210
lea eax, [ebp - 0x40]
mov ecx, 1
call fcn.0040d060
mov dword [ebp - 0x44], 0x104
lea eax, [ebp - 0x44]
push eax
mov edx, 0x622210
lea eax, [ebp - 0x40]
mov ecx, 1
call fcn.0040d060
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 0x24], 0x104
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x438bdb
mov eax, 0x6722f0
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x18]
call sub.advapi32.dll_RegEnumValueW
test eax, eax
jne 0x438ec8
cmp dword [ebp - 0x1c], 4
jne 0x438d3c
mov al, byte [ebp - 0x78]
test al, al
je 0x438d3c
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
call fcn.0040cf30
mov esi, eax
mov dword [ebp - 0x9c], 0xffffffff
mov esi, esi
add dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
call fcn.0040aaa0
lea eax, [ebp - 0x48]
call fcn.00403d00
push 0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x50]
call fcn.0040b3a0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x438c62
mov eax, dword [eax - 4]
mov edx, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x438c70
mov eax, 0x6722f0
call fcn.00441800
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x5f1680]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x5f1680]
mov eax, 0x617d90
call fcn.00423b60
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov ecx, ebx
call fcn.00408cc0
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x14]
mov eax, 0x620a30
call fcn.004282c0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov eax, 0x620a30
call fcn.00428240
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x438cd8
mov eax, dword [eax - 4]
mov edx, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x438ce6
mov eax, 0x6722f0
call fcn.00441760
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x3c]
call fcn.0040b370
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x9c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x3c]
call fcn.0040aa60
test eax, eax
jne 0x438d30
test dword [ebp - 0x98], 0xffffffff
je 0x438d30
cmp dword [ebp - 0x98], 2
je 0x438d30
add dword [ebp - 0x8c], 1
lea esi, [esi]
cmp esi, dword [ebp - 0x9c]
ja 0x438c28
cmp dword [ebp - 0x1c], 1
jne 0x438ec8
mov al, byte [ebp - 0x78]
test al, al
jne 0x438ec8
lea ebx, [ebp - 0x30]
mov eax, ebx
call fcn.0040a3e0
mov eax, ebx
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x438d6a
mov edx, dword [edx - 4]
add edx, 1
mov ecx, edx
mov edx, dword [ebp - 0x40]
call fcn.0040ad60
mov eax, dword [ebp + 0x18]
call fcn.0040cf30
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
call fcn.0040aaa0
lea eax, [ebp - 0x4c]
call fcn.00403d00
push 0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x58]
call fcn.0040b3a0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x438dca
mov eax, dword [eax - 4]
mov edx, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x438dd8
mov eax, 0x6722f0
call fcn.00441800
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [0x5f1680]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x5f1680]
mov eax, 0x617d90
call fcn.00423b60
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x4c]
mov ecx, ebx
call fcn.00408cc0
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x68]
mov eax, 0x620a30
call fcn.004282c0
lea edi, [ebp - 0x14]
lea esi, [ebp - 0x68]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x6c]
mov eax, 0x620a30
call fcn.00428240
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x438e4d
mov eax, dword [eax - 4]
mov edx, eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x438e5b
mov eax, 0x6722f0
call fcn.00441760
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x3c]
call fcn.0040b370
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x9c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x3c]
call fcn.0040aa60
test eax, eax
jne 0x438eb4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x44]
call dword [0x6721cc]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp + 0xc]
mov ecx, 1
call fcn.0040ac30
test eax, eax
jle 0x438eb4
add dword [ebp - 0x8c], 1
nop
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x9c]
ja 0x438d90
mov esi, esi
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x90]
ja 0x438b58
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x7c]
jbe 0x438fb8
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x90], 0xffffffff
lea esi, [esi]
nop
add dword [ebp - 0x90], 1
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.0040aaa0
lea eax, [ebp - 0x34]
mov edx, 0x104
call fcn.0040aaa0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x438f35
mov eax, 0x6722f0
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x18]
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x438fac
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
call fcn.0040aaa0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, 0x622118
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x38]
mov ecx, 2
call fcn.0040a890
push dword [ebp + 0x18]
mov edx, dword [ebp - 0x7c]
lea eax, [edx + 1]
push eax
push dword [ebp - 0x80]
push dword [ebp + 0xc]
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x84]
call fcn.00438a20
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov esi, esi
cmp ebx, dword [ebp - 0x90]
ja 0x438ef8
push dword [ebp - 0x18]
call sub.advapi32.dll_RegCloseKey
mov ebx, dword [ebp - 0x8c]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00438990
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14