Function at 0x43681e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00486b10
sub esp, 4
call fcn.00486830
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.004868c0
sub esp, 8
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00438f82
sub esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0xd6db6c
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.00486b40
test eax, eax
je 0x4369ec
mov eax, dword [0xd9021c]
test eax, eax
je 0x4369a8
mov eax, dword [0xd9020c]
mov dword [ebp - 0x30], eax
mov eax, dword [0xd8fe34]
mov dword [ebp - 0x34], eax
mov eax, dword [0xd90234]
or eax, 0xf003f
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
nop
jmp 0x436abf
nop
mov eax, dword [0xd9020c]
mov dword [ebp - 0x44], eax
mov eax, dword [0xd8fe34]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
jmp 0x436abf
nop
mov eax, dword [0xd9020c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.dll_RegConnectRegistryW
sub esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [0xd9021c]
test eax, eax
je 0x436a85
mov eax, dword [0xd8fe34]
mov dword [ebp - 0x60], eax
mov eax, dword [0xd90234]
or eax, 0xf003f
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x60]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
jmp 0x436abf
nop
mov eax, dword [0xd8fe34]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x100]
mov edx, dword [ebp - 0x74]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x437064
mov dword [ebp - 0x104], 0x400
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov edx, dword [ebp - 0x104]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004857f0
sub esp, 8
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
lea eax, [ebp - 0x108]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x80]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x437067
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jne 0x436c90
lea eax, [ebp - 0x108]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xe0]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xdc]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xd8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x436c71
call fcn.00486a20
call fcn.00486a20
mov eax, dword [ebp - 0x104]
sub eax, 1
mov dword [ebp - 0xe8], eax
call fcn.00486a40
mov edx, dword [ebp - 0xf0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00484eb0
sub esp, 0xc
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
nop
jmp 0x43706e
nop
mov dword [esp + 4], 0xd902d0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486910
sub esp, 8
jmp 0x43706e
cmp dword [ebp - 0x8c], 2
jne 0x436d92
lea eax, [ebp - 0x108]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xcc]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xc8]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xc4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x436d73
call fcn.00486a20
call fcn.00486a20
mov eax, dword [ebp - 0x104]
sub eax, 1
mov dword [ebp - 0xd4], eax
call fcn.00486a40
mov edx, dword [ebp - 0xf0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00484eb0
sub esp, 0xc
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
nop
jmp 0x43706e
nop
mov dword [esp + 4], 0xd902d0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486910
sub esp, 8
jmp 0x43706e
cmp dword [ebp - 0x8c], 4
jne 0x436e82
lea eax, [ebp - 0x10c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xbc]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xb8]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0xb4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x436e63
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov ecx, eax
mov eax, dword [ebp - 0xf4]
cdq
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00485840
sub esp, 0xc
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
nop
jmp 0x43706e
nop
mov dword [esp + 4], 0xd6dd54
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486910
sub esp, 8
jmp 0x43706e
cmp dword [ebp - 0x8c], 3
jne 0x43706a
mov dword [ebp - 0xf8], 0x400
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call fcn.00485f30
sub esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x98]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x94]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43706d
mov dword [esp + 4], 0xd902d0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486910
sub esp, 8
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0xc], eax
jge 0x437041
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call fcn.00486090
sub esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xf
jg 0x436fda
call fcn.00486a20
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
mov dword [esp], 0xd6dd54
call fcn.00486870
sub esp, 4
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
jmp 0x436fdb
nop
call fcn.00486a20
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
call fcn.00486a20
call fcn.00486a20
call fcn.00486a40
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00484db0
sub esp, 0xc
call fcn.00486a40
call fcn.00486a40
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00486790
sub esp, 8
add dword [ebp - 0xc], 1
jmp 0x436f53
nop
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call fcn.00486010
sub esp, 4
mov dword [ebp - 0xb0], eax
jmp 0x43706e
nop
jmp 0x43706e
nop
jmp 0x43706e
nop
jmp 0x43706e
nop
mov eax, dword [ebp - 0xfc]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov dword [ebp - 0xec], eax
call fcn.00486a20
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call fcn.00486870
sub esp, 4
call fcn.00486ae0
mov dword [ebp - 0x14], eax
nop
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call fcn.004869a0
sub esp, 4
mov eax, dword [ebp - 0x14]
leave
ret 0x10