Function at 0x415390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f17b7
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x53ba20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
mov edi, eax
xor eax, eax
mov dword [ebp - 0xa8], edi
mov word [edi], ax
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov word [eax], cx
push 0x4fbd20
mov dword [ebp - 0x38], ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x38], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x34], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x34], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x10], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x30], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x30], eax
call fcn.004c8c7f
add esp, 0x40
mov dword [ebp - 0x2c], 0
push 0x4fbd20
call fcn.004c8c20
push 0
mov dword [ebp - 0x2c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x28], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x24], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8c7f
mov ebx, dword [ebp + 0x10]
mov eax, 0x4fbd20
test ebx, ebx
mov dword [ebp - 0x20], 0
cmovne eax, ebx
push eax
mov dword [ebp - 0x58], eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8c7f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x1c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8c7f
push dword [ebp - 0x58]
mov dword [ebp - 0x18], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x13
push ecx
push 1
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405510
add esp, 0x54
mov esi, eax
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x6c]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x54]
call fcn.004c8c7f
push dword [ebp - 0x20]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
push dword [ebp - 0x28]
call fcn.004c8c7f
push dword [ebp - 0x2c]
call fcn.004c8c7f
push dword [ebp - 0x30]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.004c8c7f
lea eax, [ebp - 0x60]
push eax
push 0x20019
push 0
push ebx
push dword [0x534a0c]
call fcn.00408690
add esp, 0x44
test eax, eax
jne 0x415c66
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x60]
call fcn.00415050
add esp, 0xc
test eax, eax
jne 0x415c5d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
nop dword [eax]
lea eax, [ebp - 0x40]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x60]
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x415c3e
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0x501808
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x415c35
cmp dword [ebp - 0x7c], 2
ja 0x415c35
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0x501814
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x415c35
cmp dword [ebp - 0x80], 4
mov dword [ebp - 0x50], 4
je 0x4156fb
mov dword [ebp - 0x3c], 1
jmp 0x41571f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push 0x5017e4
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x415c35
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x4fd9f0
push dword [ebp - 0x40]
call fcn.004151a0
mov esi, dword [ebp - 0x44]
add esp, 0x14
mov ecx, 0x4fbd20
test eax, eax
je 0x4157eb
mov eax, dword [ebp - 0x14]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x44], eax
call fcn.004c8c7f
push 0x50182c
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x10], esi
call fcn.004c8c7f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
push 0x501820
call fcn.004c8c20
mov esi, eax
push 0
mov dword [ebp - 0x10], esi
call fcn.004c8c7f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004152c0
push esi
call fcn.004c8c7f
mov ebx, dword [ebp - 0x84]
mov eax, 0x4fbd20
mov esi, dword [ebp - 0x4c]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x4c], eax
call fcn.004c8c7f
add esp, 0x40
push ebx
call fcn.004c8c7f
push dword [ebp - 0x6c]
jmp 0x4157fd
mov eax, dword [ebp - 0x4c]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
mov dword [ebp - 0x44], eax
push esi
call fcn.004c8c7f
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x88]
add esp, 8
push 1
push dword [ebp - 0x4c]
push ebx
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x48]
mov ecx, 0x4fbd20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x48], eax
call fcn.004c8c7f
push dword [ebp - 0x88]
call fcn.004c8c7f
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x48]
push ebx
call fcn.00406990
add esp, 0x2c
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x64]
mov edx, 0x4fbd20
push eax
push ecx
mov esi, esp
mov dword [esi], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
cmovne edx, ecx
push edx
call fcn.004c8c20
push 0
mov dword [esi], eax
call fcn.004c8c7f
add esp, 8
call fcn.0041eff0
mov ebx, dword [ebp - 0x58]
push ebx
mov dword [ebp - 0x10], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x90]
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x34], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x34], eax
call fcn.004c8c7f
push ebx
mov dword [ebp - 0x38], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x38], eax
call fcn.004c8c7f
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x8c]
push eax
call fcn.00409d10
add esp, 0x40
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x18
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push esi
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00405200
push dword [ebp - 0x8c]
mov bl, al
call fcn.004c8c7f
push dword [ebp - 0x38]
call fcn.004c8c7f
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x90]
call fcn.004c8c7f
push dword [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004c8c7f
add esp, 0x34
test bl, bl
je 0x415c2c
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x415b70
push 0x4fbd20
mov dword [ebp - 0x10], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x70], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x70], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x74], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x74], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x18], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x1c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x20], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x24], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8c7f
mov ebx, dword [ebp - 0x58]
push ebx
mov dword [ebp - 0x28], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x98]
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x2c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x2c], eax
call fcn.004c8c7f
push ebx
mov dword [ebp - 0x30], 0
call fcn.004c8c20
mov dword [ebp - 0x30], eax
push 0
call fcn.004c8c7f
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x94]
push eax
call fcn.00409d10
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
push 0
push 0
push ecx
push ebx
push 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x24
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405510
add esp, 0x74
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x94]
call fcn.004c8c7f
push dword [ebp - 0x30]
call fcn.004c8c7f
push dword [ebp - 0x2c]
call fcn.004c8c7f
push dword [ebp - 0x98]
call fcn.004c8c7f
push dword [ebp - 0x28]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
push dword [ebp - 0x20]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x74]
call fcn.004c8c7f
push dword [ebp - 0x70]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
add esp, 0x30
jmp 0x415b73
mov ebx, dword [ebp - 0x3c]
push 0x4fbd20
mov dword [ebp - 0x3c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x3c], eax
call fcn.004c8c7f
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0x54], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8c7f
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xa4]
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x27
push ecx
push ebx
push esi
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0xd
push esi
push dword [ebp - 0xa0]
push dword [ebp + 8]
call fcn.00405510
add esp, 0x64
push dword [ebp - 0xa4]
call fcn.004c8c7f
push dword [ebp - 0x54]
call fcn.004c8c7f
push dword [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.004c8c7f
add esp, 0xc
jmp 0x415c2f
mov esi, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
inc edi
push eax
push edi
push dword [ebp - 0x60]
call fcn.00415050
add esp, 0xc
test eax, eax
je 0x415670
mov edi, dword [ebp - 0xa8]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x44]
call fcn.004c8c7f
push dword [ebp - 0x78]
call fcn.004c8c7f
push dword [ebp - 0x64]
call fcn.004c8c7f
push dword [ebp - 0x68]
call fcn.004c8c7f
push dword [ebp - 0x48]
call fcn.004c8c7f
push edi
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
push dword [ebp - 0x4c]
call fcn.004c8c7f
add esp, 0x20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp