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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069577
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x194], ecx
mov eax, dword [ebp - 0x194]
mov dword [eax + 0x2c8], 0xffffffff
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 0x2c0]
push edx
mov ecx, dword [ebp - 0x194]
call fcn.1005dd70
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x2c8], eax
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x2c8], 0xffffffff
jne 0x1005e5b9
jmp 0x1005f4db
mov ecx, dword [ebp - 0x194]
call fcn.1005db50
mov eax, dword [ebp - 0x194]
mov dword [eax + 0x2c4], 0
mov dword [0x1008b3e8], 0
push 0x16
push 0
push 0x1008b3d0
call fcn.100139b0
add esp, 0xc
push 0x26
push 0
push 0x1008b3a8
call fcn.100139b0
add esp, 0xc
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x20], 0
jmp 0x1005e616
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x2d8]
jge 0x1005f4bb
push 0x80
push 0
push 0x1008b328
call fcn.100139b0
add esp, 0xc
push 0x80
push 0
mov ecx, dword [ebp - 0x194]
add ecx, 0xd2c
push ecx
call fcn.100139b0
add esp, 0xc
push 0x80
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x108
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx + 0x2dc]
push ecx
mov edx, dword [ebp - 0x194]
add edx, 0xd2c
push edx
call fcn.10013640
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x108
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx + ecx + 0x2ec]
test eax, eax
je 0x1005e70b
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x108
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx + ecx + 0x2ed]
test eax, eax
jne 0x1005e70b
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x108
add ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x194]
mov cl, byte [eax + ecx + 0x2ec]
mov byte [edx + 0x1008b328], cl
mov edx, dword [ebp - 0x18]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x1005e699
push 0x1008af94
push 0x1008b328
call fcn.100029a0
add esp, 8
test eax, eax
je 0x1005e726
jmp 0x1005e60d
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xa0]
push ecx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
push reloc.RtlIhvOid.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005f4ac
mov dword [ebp - 0xac], 0
jmp 0x1005e767
mov edx, dword [ebp - 0xac]
add edx, 1
mov dword [ebp - 0xac], edx
push 0x64
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x1005e79e
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x1005e7ac
cmp dword [ebp - 0x98], 0x103
jne 0x1005e7ac
jmp 0x1005e7ae
jmp 0x1005e758
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x118], ecx
jmp 0x1005e7c8
mov edx, dword [ebp - 0x118]
sub edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0
jbe 0x1005f49f
push 0x64
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x1005f49a
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1005f49a
push 0x64
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0xa4], 0x64
mov dword [ebp - 0xa8], 1
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0xa8]
push eax
push 0
push str.ComponentId
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1005f48d
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x158]
call fcn.10001ba0
mov dword [ebp - 4], 0
push str.VEN_10ECDEV_8180
lea ecx, [ebp - 0x170]
call fcn.100017d0
mov byte [ebp - 4], 1
push str.VEN_10ECDEV_8185
lea ecx, [ebp - 0x12c]
call fcn.100017d0
mov byte [ebp - 4], 2
push str.VID_0BDAPID_8187
lea ecx, [ebp - 0x144]
call fcn.100017d0
mov byte [ebp - 4], 3
push str.VEN_10ECDEV_8190
lea ecx, [ebp - 0x154]
call fcn.100017d0
mov byte [ebp - 4], 4
push str.VID_0BDAPID_8189
lea ecx, [ebp - 0x16c]
call fcn.100017d0
mov byte [ebp - 4], 5
push str.VEN_10ECDEV_8188
lea ecx, [ebp - 0x128]
call fcn.100017d0
mov byte [ebp - 4], 6
push str.VEN_10ECDEV_8199
lea ecx, [ebp - 0x140]
call fcn.100017d0
mov byte [ebp - 4], 7
push str.VEN_10ECDEV_8192
lea ecx, [ebp - 0x150]
call fcn.100017d0
mov byte [ebp - 4], 8
push str.VID_0BDAPID_8192
lea ecx, [ebp - 0x130]
call fcn.100017d0
mov byte [ebp - 4], 9
push str.VEN_10ECDEV_8171
lea ecx, [ebp - 0x15c]
call fcn.100017d0
mov byte [ebp - 4], 0xa
push str.VEN_10ECDEV_8172
lea ecx, [ebp - 0x13c]
call fcn.100017d0
mov byte [ebp - 4], 0xb
push str.VEN_10ECDEV_8173
lea ecx, [ebp - 0x168]
call fcn.100017d0
mov byte [ebp - 4], 0xc
push str.VEN_10ECDEV_8174
lea ecx, [ebp - 0x120]
call fcn.100017d0
mov byte [ebp - 4], 0xd
push str.VID_0BDAPID_8171
lea ecx, [ebp - 0x17c]
call fcn.100017d0
mov byte [ebp - 4], 0xe
push str.VID_0BDAPID_8172
lea ecx, [ebp - 0x124]
call fcn.100017d0
mov byte [ebp - 4], 0xf
push str.VID_0BDAPID_8173
lea ecx, [ebp - 0x11c]
call fcn.100017d0
mov byte [ebp - 4], 0x10
push str.VID_0BDAPID_8174
lea ecx, [ebp - 0x164]
call fcn.100017d0
mov byte [ebp - 4], 0x11
push str.VEN_10ECDEV_8193
lea ecx, [ebp - 0x160]
call fcn.100017d0
mov byte [ebp - 4], 0x12
push str.VEN_10ECDEV_8176
lea ecx, [ebp - 0x138]
call fcn.100017d0
mov byte [ebp - 4], 0x13
push str.VEN_10ECDEV_8177
lea ecx, [ebp - 0x134]
call fcn.100017d0
mov byte [ebp - 4], 0x14
push str.VEN_10ECDEV_8178
lea ecx, [ebp - 0x178]
call fcn.100017d0
mov byte [ebp - 4], 0x15
push 0x1006fb32
push 0x100a53a4
call fcn.10002030
add esp, 8
movzx eax, al
test eax, eax
je 0x1005eb62
push 0x100a53a4
lea ecx, [ebp - 0x130]
call fcn.10002750
push eax
lea ecx, [ebp - 0x150]
call fcn.10002750
push eax
lea ecx, [ebp - 0x140]
call fcn.10002750
push eax
lea ecx, [ebp - 0x128]
call fcn.10002750
push eax
lea ecx, [ebp - 0x16c]
call fcn.10002750
push eax
lea ecx, [ebp - 0x154]
call fcn.10002750
push eax
lea ecx, [ebp - 0x144]
call fcn.10002750
push eax
lea ecx, [ebp - 0x12c]
call fcn.10002750
push eax
lea ecx, [ebp - 0x170]
call fcn.10002750
push 0x100a53a4
lea ecx, [ebp - 0x160]
call fcn.10002750
push eax
lea ecx, [ebp - 0x164]
call fcn.10002750
push eax
lea ecx, [ebp - 0x11c]
call fcn.10002750
push eax
lea ecx, [ebp - 0x124]
call fcn.10002750
push eax
lea ecx, [ebp - 0x17c]
call fcn.10002750
push eax
lea ecx, [ebp - 0x120]
call fcn.10002750
push eax
lea ecx, [ebp - 0x168]
call fcn.10002750
push eax
lea ecx, [ebp - 0x13c]
call fcn.10002750
push eax
lea ecx, [ebp - 0x15c]
call fcn.10002750
push 0x100a53a4
lea ecx, [ebp - 0x178]
call fcn.10002750
push eax
lea ecx, [ebp - 0x134]
call fcn.10002750
push eax
lea ecx, [ebp - 0x138]
call fcn.10002750
lea ecx, [ebp - 0x158]
call fcn.10001d00
lea ecx, [ebp - 0x170]
call fcn.10001d00
lea ecx, [ebp - 0x12c]
call fcn.10001d00
lea ecx, [ebp - 0x144]
call fcn.10001d00
lea ecx, [ebp - 0x154]
call fcn.10001d00
lea ecx, [ebp - 0x16c]
call fcn.10001d00
lea ecx, [ebp - 0x128]
call fcn.10001d00
lea ecx, [ebp - 0x140]
call fcn.10001d00
lea ecx, [ebp - 0x150]
call fcn.10001d00
lea ecx, [ebp - 0x130]
call fcn.10001d00
lea ecx, [ebp - 0x15c]
call fcn.10001d00
lea ecx, [ebp - 0x13c]
call fcn.10001d00
lea ecx, [ebp - 0x168]
call fcn.10001d00
lea ecx, [ebp - 0x120]
call fcn.10001d00
lea ecx, [ebp - 0x17c]
call fcn.10001d00
lea ecx, [ebp - 0x124]
call fcn.10001d00
lea ecx, [ebp - 0x11c]
call fcn.10001d00
lea ecx, [ebp - 0x164]
call fcn.10001d00
lea ecx, [ebp - 0x160]
call fcn.10001d00
lea ecx, [ebp - 0x138]
call fcn.10001d00
lea ecx, [ebp - 0x134]
call fcn.10001d00
lea ecx, [ebp - 0x178]
call fcn.10001d00
mov byte [ebp - 0x145], 0
push 0x1007b750
lea ecx, [ebp - 0x14c]
call fcn.100017d0
mov byte [ebp - 4], 0x16
push 0x1007b758
lea ecx, [ebp - 0x174]
call fcn.100017d0
mov byte [ebp - 4], 0x17
push 0
lea ecx, [ebp - 0x14c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005ecc3
push 0
lea ecx, [ebp - 0x174]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
je 0x1005ee59
lea ecx, [ebp - 0x188]
call fcn.10001af0
mov byte [ebp - 4], 0x18
mov ecx, 0x100a53a4
call fcn.10001d00
push 0x100a53a4
lea ecx, [ebp - 0x184]
call fcn.10001ac0
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x180], 0
push 0x1006fb33
lea ecx, [ebp - 0x184]
push ecx
call fcn.10002030
add esp, 8
movzx edx, al
test edx, edx
je 0x1005ee3b
push 0x3b
lea ecx, [ebp - 0x184]
call fcn.10001cb0
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jle 0x1005edde
mov eax, dword [ebp - 0x180]
add eax, 1
push eax
lea ecx, [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x184]
call fcn.10001de0
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x188]
call fcn.10002750
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x18c]
call fcn.10001850
mov ecx, dword [ebp - 0x180]
push ecx
lea edx, [ebp - 0x190]
push edx
lea ecx, [ebp - 0x184]
call fcn.10001f00
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x184]
call fcn.10002750
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x190]
call fcn.10001850
jmp 0x1005ee00
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x188]
call fcn.10002750
push 0x1006fb3e
lea ecx, [ebp - 0x184]
call fcn.100017b0
push 0
lea ecx, [ebp - 0x188]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
je 0x1005ee36
lea ecx, [ebp - 0x188]
call fcn.10001330
test eax, eax
je 0x1005ee36
mov byte [ebp - 0x145], 1
jmp 0x1005ee3b
jmp 0x1005ecfa
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x184]
call fcn.10001850
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x188]
call fcn.10001850
movzx eax, byte [ebp - 0x145]
test eax, eax
jne 0x1005f122
push 0
lea ecx, [ebp - 0x170]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x12c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x144]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x154]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x16c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x128]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x140]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x150]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x130]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x15c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x13c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x168]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x120]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x17c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x124]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x11c]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x164]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x160]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x138]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x134]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
jne 0x1005f122
push 0
lea ecx, [ebp - 0x178]
call fcn.10001ae0
push eax
lea ecx, [ebp - 0x158]
call fcn.10001c30
cmp eax, 0xffffffff
je 0x1005f322
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x194]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x2d4], eax
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x108
mov edx, dword [ebp - 0x194]
lea eax, [edx + ecx + 0x2dc]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x2c4], eax
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x108
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx + 0x2dc]
mov dword [0x1008b3e8], ecx
push 0x15
lea edx, [ebp - 0x114]
push edx
push 0x1008b3d0
call fcn.10013640
add esp, 0xc
push 0x25
lea eax, [ebp - 0x114]
push eax
push 0x1008b3a8
call fcn.10013640
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x174]
call fcn.10001850
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14c]
call fcn.10001850
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x178]
call fcn.10001850
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x134]
call fcn.10001850
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x138]
call fcn.10001850
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x160]
call fcn.10001850
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x164]
call fcn.10001850
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x11c]
call fcn.10001850
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x124]
call fcn.10001850
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x17c]
call fcn.10001850
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
call fcn.10001850
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x168]
call fcn.10001850
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.10001850
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x15c]
call fcn.10001850
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x130]
call fcn.10001850
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call fcn.10001850
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.10001850
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.10001850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call fcn.10001850
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.10001850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.10001850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.10001850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.10001850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10001850
jmp 0x1005f49f
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x174]
call fcn.10001850
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14c]
call fcn.10001850
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x178]
call fcn.10001850
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x134]
call fcn.10001850
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x138]
call fcn.10001850
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x160]
call fcn.10001850
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x164]
call fcn.10001850
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x11c]
call fcn.10001850
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x124]
call fcn.10001850
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x17c]
call fcn.10001850
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
call fcn.10001850
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x168]
call fcn.10001850
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x13c]
call fcn.10001850
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x15c]
call fcn.10001850
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x130]
call fcn.10001850
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call fcn.10001850
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.10001850
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.10001850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call fcn.10001850
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.10001850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.10001850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.10001850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.10001850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10001850
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1005e7b9
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x1005f4b6
jmp 0x1005f4bb
jmp 0x1005e60d
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x2c4], 0
jne 0x1005f4cc
jmp 0x1005f4db
jmp 0x1005f4db
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + 0x2c4], 0
jne 0x1005f4f0
xor eax, eax
jmp 0x1005f4f5
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret