Function at 0x426410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fdb6
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x46f680], 0
je 0x42661a
cmp dword [ebp + 0x18], 0xffffffff
jne 0x42661a
push 0
lea ecx, [ebp - 0x54]
call fcn.00402190
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00402190
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402190
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x60]
call fcn.00402190
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x64]
call fcn.00402190
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x68]
call fcn.00402190
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402190
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00402190
mov byte [ebp - 4], 7
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x78]
call fcn.00402190
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402190
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
push 1
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xe0]
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004021c0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004047c0
add esp, 0x14
cmp dword [ebp - 0x18], 0
jne 0x42664a
mov eax, dword [ebp + 0x18]
jmp 0x426ba5
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
shr eax, 1
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00437300
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
shr edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 2
jbe 0x426b98
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2 - 2], ax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x4266fd
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 2
push ecx
call fcn.00416790
add esp, 8
add eax, 2
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
test eax, eax
je 0x426b98
lea ecx, [ebp - 0x3c]
call fcn.00401a80
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040d550
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402190
mov byte [ebp - 4], 0xd
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00408fc0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20]
call fcn.00402270
movzx eax, word [eax]
test eax, eax
je 0x426b6c
lea ecx, [ebp - 0x44]
call fcn.00402160
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50]
call fcn.00402160
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
call fcn.00402160
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x20]
call fcn.00402270
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040b960
add esp, 0x14
mov byte [ebp - 0x85], al
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x8c]
call fcn.004021c0
movzx ecx, byte [ebp - 0x85]
test ecx, ecx
je 0x426b48
cmp dword [ebp + 0x18], 0xffffffff
jne 0x426a32
push 0
lea ecx, [ebp - 0x90]
call fcn.00402190
mov byte [ebp - 4], 0x13
push 0
lea ecx, [ebp - 0x94]
call fcn.00402190
mov byte [ebp - 4], 0x14
push 0
lea ecx, [ebp - 0x98]
call fcn.00402190
mov byte [ebp - 4], 0x15
push 0
lea ecx, [ebp - 0x9c]
call fcn.00402190
mov byte [ebp - 4], 0x16
push 0
lea ecx, [ebp - 0xa0]
call fcn.00402190
mov byte [ebp - 4], 0x17
push 0
lea ecx, [ebp - 0xa4]
call fcn.00402190
mov byte [ebp - 4], 0x18
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00402190
mov byte [ebp - 4], 0x19
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xac]
call fcn.00402190
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00402190
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x90]
push eax
push 1
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0xe8]
push edx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0xf0]
push edx
push 0
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xbc]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb0]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xb8]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xb4]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xa0]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x9c]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x98]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x94]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x90]
call fcn.004021c0
push 0
lea ecx, [ebp - 0xc0]
call fcn.00402190
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00402190
mov byte [ebp - 4], 0x20
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402190
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0xc0]
push edx
movzx eax, byte [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xc8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0xf8]
push edx
lea eax, [ebp - 0xd0]
push eax
push 5
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xcc]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xd0]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xc8]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xc4]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc0]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x44]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00401ae0
jmp 0x4266e6
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret