Function at 0x1000e18f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
mov word [ebp - 4], 0x5c
push esi
xor eax, eax
mov dword [ebp - 0x1c], ebx
push edi
xor edx, edx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], ax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], 4
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e1fb
test byte [eax + 0x1c], 2
je 0x1000e1fb
cmp byte [eax + 0x19], 5
jb 0x1000e1fb
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x141
push dword [eax + 0x10]
call fcn.10006750
test edi, edi
jne 0x1000e250
push 2
pop edx
call fcn.10006613
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5a6
test byte [eax + 0x1c], 1
je 0x1000e5a6
cmp byte [eax + 0x19], 2
jb 0x1000e5a6
push 0x10001a64
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x142
push dword [eax + 0x10]
call fcn.100067f0
jmp 0x1000e5a6
lea edx, [ebp - 0xc]
mov ecx, edi
call fcn.10007561
mov esi, eax
test esi, esi
je 0x1000e2a8
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5a6
test byte [eax + 0x1c], 1
je 0x1000e5a6
cmp byte [eax + 0x19], 2
jb 0x1000e5a6
push esi
push ecx
mov ecx, 0x143
push dword [eax + 0x14]
mov edx, 0x10002598
push dword [eax + 0x10]
call fcn.1000679d
jmp 0x1000e5a6
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
mov ecx, edi
mov dword [eax + 0x18], ebx
call fcn.10009fc9
mov esi, eax
test esi, esi
je 0x1000e2f3
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5a6
test byte [eax + 0x1c], 1
je 0x1000e5a6
cmp byte [eax + 0x19], 2
jb 0x1000e5a6
push esi
push ecx
mov ecx, 0x144
jmp 0x1000e293
cmp dword [ebp - 0x14], 2
jne 0x1000e5a6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x18
push 0x10002458
push 0x10002480
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x1000e36f
cmp dword [ebp - 0x18], ebx
je 0x1000e3a5
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5a6
test byte [eax + 0x1c], 1
je 0x1000e5a6
cmp byte [eax + 0x19], 4
jb 0x1000e5a6
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x145
push dword [eax + 0x10]
call fcn.10006750
jmp 0x1000e5a6
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e3a5
test byte [eax + 0x1c], 1
je 0x1000e3a5
cmp byte [eax + 0x19], 4
jb 0x1000e3a5
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x146
push dword [eax + 0x10]
call fcn.10006750
push 0x72
pop edx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.10024a26
mov esi, eax
test esi, esi
jne 0x1000e3bf
mov esi, ebx
jmp 0x1000e5a6
lea eax, [ebp - 0x14]
push eax
push 0x72
push esi
push ebx
push ebx
push 0x313520
push dword [edi + 0x34]
call dword [sym.imp.WinSCard.dll_SCardControl]
mov edx, esi
mov ecx, edi
mov ebx, eax
call fcn.10024a3e
test ebx, ebx
je 0x1000e42a
cmp ebx, 0x80100008
je 0x1000e42a
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e423
test byte [eax + 0x1c], 1
je 0x1000e423
cmp byte [eax + 0x19], 4
jb 0x1000e423
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x147
push dword [eax + 0x10]
call fcn.10006750
xor esi, esi
jmp 0x1000e5a6
push 0
lea eax, [ebp - 8]
xor dl, dl
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
lea eax, [ebp - 4]
push eax
push 1
push 0x2f
push 0xcb
call 0x1003be2d
mov ebx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
je 0x1000e4a1
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e58b
test byte [eax + 0x1c], 1
je 0x1000e58b
cmp byte [eax + 0x19], 2
jb 0x1000e58b
push esi
push ecx
mov ecx, 0x148
push dword [eax + 0x14]
mov edx, 0x10002598
push dword [eax + 0x10]
call fcn.1000679d
jmp 0x1000e58b
mov cx, word [ebp - 8]
xor edx, edx
call fcn.100262f8
mov esi, eax
test esi, esi
je 0x1000e4e7
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e58b
test byte [eax + 0x1c], 1
je 0x1000e58b
cmp byte [eax + 0x19], 2
jb 0x1000e58b
push esi
push ecx
mov ecx, 0x149
jmp 0x1000e48c
lea eax, [ebp - 0x24]
mov edx, ebx
push eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push 0x47
push dword [ebp - 0x20]
call fcn.100256e1
mov esi, eax
test esi, esi
je 0x1000e52f
push 2
pop edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e58b
test byte [eax + 0x1c], 1
je 0x1000e58b
cmp byte [eax + 0x19], 2
jb 0x1000e58b
push esi
push ecx
mov ecx, 0x14a
jmp 0x1000e48c
cmp dword [ebp - 0x24], 3
je 0x1000e578
push 2
pop edx
call fcn.10006613
mov esi, 0x8010001f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e58b
test byte [eax + 0x1c], 1
je 0x1000e58b
cmp byte [eax + 0x19], 2
jb 0x1000e58b
push esi
push 0x10002540
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x14b
push dword [eax + 0x10]
call fcn.1000686c
jmp 0x1000e58b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, byte [eax + 2]
shr eax, 6
and eax, 1
mov dword [ecx + 0x18], eax
test ebx, ebx
je 0x1000e598
mov edx, ebx
mov ecx, edi
call fcn.10024a3e
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000e5a6
mov ecx, edi
call fcn.10024a3e
xor edx, edx
inc edx
call fcn.10006613
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5dd
test byte [eax + 0x1c], 2
je 0x1000e5dd
cmp byte [eax + 0x19], 5
jb 0x1000e5dd
push esi
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x14c
push dword [eax + 0x10]
call fcn.1000679d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret