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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x98]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
call fcn.0040a420
mov eax, dword [ebp + 0x18]
call fcn.0040cff0
lea eax, [ebp + 0xc]
call fcn.0040a420
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
xor eax, eax
push fcn.00440380
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
or eax, 0x20019
push eax
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4404ee
mov eax, 0x7a22f0
push eax
push dword [ebp - 4]
call sub.advapi32.dll_RegOpenKeyExW
test eax, 0xffffffff
je 0x440503
jmp 0x4409b4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push dword [ebp - 0x30]
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, 0xffffffff
je 0x440531
jmp 0x4409b4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x18], 0xffffffff
lea esi, [esi]
mov eax, dword [ebp - 0x18]
lea eax, [eax + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x50]
mov edx, 0
call fcn.0040aaa0
lea eax, [ebp - 0x50]
mov edx, 0x104
call fcn.0040aaa0
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
mov edx, 0x751d00
lea eax, [ebp - 0x5c]
mov ecx, 1
call fcn.0040d060
mov dword [ebp - 0x60], 0x104
lea eax, [ebp - 0x60]
push eax
mov edx, 0x751d00
lea eax, [ebp - 0x5c]
mov ecx, 1
call fcn.0040d060
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x40], 0x104
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x4405d0
mov eax, 0x7a22f0
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call sub.advapi32.dll_RegEnumValueW
test eax, 0xffffffff
je 0x4405e8
jmp 0x4408d0
cmp dword [ebp - 0x38], 4
je 0x4405f3
jmp 0x440728
cmp byte [ebp + 8], 0
jne 0x4405fe
jmp 0x440728
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
call fcn.0040cf30
mov esi, eax
mov dword [ebp - 0x1c], 0xffffffff
nop
mov eax, dword [ebp - 0x1c]
lea eax, [eax + 1]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x50]
call fcn.0040aaa0
lea eax, [ebp - 0x64]
call fcn.00403d00
push 0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
call fcn.0040b3a0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x440654
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x440660
mov eax, 0x7a22f0
call fcn.0044d130
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x721600]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x721600]
mov eax, 0x747e58
call fcn.004268c0
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x64]
mov ecx, ebx
call fcn.00408cc0
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x2c]
mov eax, 0x750d50
call fcn.0042b3e0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x70]
mov eax, 0x750d50
call fcn.0042b350
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x4406c8
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4406d4
mov eax, 0x7a22f0
call fcn.0044d080
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x58]
call fcn.0040b370
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x58]
call fcn.0040aa60
test eax, 0xffffffff
je 0x440701
jmp 0x44071c
cmp dword [ebp - 0x34], 0
jne 0x440709
jmp 0x44071c
cmp dword [ebp - 0x34], 2
jne 0x440711
jmp 0x44071c
mov eax, dword [ebp - 0x14]
lea eax, [eax + 1]
mov dword [ebp - 0x14], eax
mov esi, esi
cmp esi, dword [ebp - 0x1c]
jbe 0x440726
jmp 0x440618
mov esi, esi
cmp dword [ebp - 0x38], 1
je 0x440733
jmp 0x4408d0
cmp byte [ebp + 8], 0
je 0x44073e
jmp 0x4408d0
lea ebx, [ebp - 0x4c]
mov eax, ebx
call fcn.0040a3e0
mov eax, ebx
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x440757
mov ecx, dword [ecx - 4]
add ecx, 1
mov edx, dword [ebp - 0x5c]
call fcn.0040ad60
mov eax, dword [ebp + 0x18]
call fcn.0040cf30
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x1c], 0xffffffff
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + 1]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x50]
call fcn.0040aaa0
lea eax, [ebp - 0x68]
call fcn.00403d00
push 0
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x74]
call fcn.0040b3a0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x4407b4
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4407c0
mov eax, 0x7a22f0
call fcn.0044d130
mov ebx, dword [ebp - 0x64]
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x721600]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x721600]
mov eax, 0x747e58
call fcn.004268c0
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x68]
mov ecx, ebx
call fcn.00408cc0
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x84]
mov eax, 0x750d50
call fcn.0042b3e0
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x84]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x88]
mov eax, 0x750d50
call fcn.0042b350
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x44084a
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x440856
mov eax, 0x7a22f0
call fcn.0044d080
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x58]
call fcn.0040b370
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x58]
call fcn.0040aa60
test eax, 0xffffffff
je 0x440886
jmp 0x4408c0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x60]
call dword [0x7a21cc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 0xc]
mov ecx, 1
call fcn.0040ac30
cmp eax, 0
jg 0x4408b5
jmp 0x4408c0
mov eax, dword [ebp - 0x14]
lea eax, [eax + 1]
mov dword [ebp - 0x14], eax
mov esi, esi
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x1c]
jbe 0x4408d0
jmp 0x440778
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x18]
jbe 0x4408e0
jmp 0x440548
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x10]
jb 0x4408ed
jmp 0x4409b4
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0xffffffff
nop
mov eax, dword [ebp - 0x18]
lea eax, [eax + 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0x104
lea eax, [ebp - 0x50]
mov edx, 0
call fcn.0040aaa0
lea eax, [ebp - 0x50]
mov edx, 0x104
call fcn.0040aaa0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x44093a
mov eax, 0x7a22f0
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call sub.advapi32.dll_RegEnumKeyExW
test eax, 0xffffffff
je 0x44094f
jmp 0x4409a8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x50]
call fcn.0040aaa0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x80], eax
mov eax, 0x751c08
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x54]
mov ecx, 2
call fcn.0040a890
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
lea eax, [eax + 1]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00440420
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
nop
cmp ebx, dword [ebp - 0x18]
jbe 0x4409b2
jmp 0x4408f8
mov esi, esi
push dword [ebp - 0x30]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00440380
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14