Function at 0x1000e1d4
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.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e240
test byte [eax + 0x1c], 2
je 0x1000e240
cmp byte [eax + 0x19], 5
jb 0x1000e240
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x141
push dword [eax + 0x10]
call fcn.10006732
test edi, edi
jne 0x1000e295
push 2
pop edx
call fcn.100065f3
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5eb
test byte [eax + 0x1c], 1
je 0x1000e5eb
cmp byte [eax + 0x19], 2
jb 0x1000e5eb
push 0x10001a64
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x142
push dword [eax + 0x10]
call fcn.100067d2
jmp 0x1000e5eb
lea edx, [ebp - 0xc]
mov ecx, edi
call fcn.1000754f
mov esi, eax
test esi, esi
je 0x1000e2ed
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5eb
test byte [eax + 0x1c], 1
je 0x1000e5eb
cmp byte [eax + 0x19], 2
jb 0x1000e5eb
push esi
push ecx
mov ecx, 0x143
push dword [eax + 0x14]
mov edx, 0x10002598
push dword [eax + 0x10]
call fcn.1000677f
jmp 0x1000e5eb
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
mov ecx, edi
mov dword [eax + 0x18], ebx
call fcn.10009fe7
mov esi, eax
test esi, esi
je 0x1000e338
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5eb
test byte [eax + 0x1c], 1
je 0x1000e5eb
cmp byte [eax + 0x19], 2
jb 0x1000e5eb
push esi
push ecx
mov ecx, 0x144
jmp 0x1000e2d8
cmp dword [ebp - 0x14], 2
jne 0x1000e5eb
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 0x1000e3b4
cmp dword [ebp - 0x18], ebx
je 0x1000e3ea
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5eb
test byte [eax + 0x1c], 1
je 0x1000e5eb
cmp byte [eax + 0x19], 4
jb 0x1000e5eb
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x145
push dword [eax + 0x10]
call fcn.10006732
jmp 0x1000e5eb
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e3ea
test byte [eax + 0x1c], 1
je 0x1000e3ea
cmp byte [eax + 0x19], 4
jb 0x1000e3ea
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x146
push dword [eax + 0x10]
call fcn.10006732
push 0x72
pop edx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.10024958
mov esi, eax
test esi, esi
jne 0x1000e404
mov esi, ebx
jmp 0x1000e5eb
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.1002498e
test ebx, ebx
je 0x1000e46f
cmp ebx, 0x80100008
je 0x1000e46f
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e468
test byte [eax + 0x1c], 1
je 0x1000e468
cmp byte [eax + 0x19], 4
jb 0x1000e468
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x147
push dword [eax + 0x10]
call fcn.10006732
xor esi, esi
jmp 0x1000e5eb
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 fcn.1003be65
mov ebx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
je 0x1000e4e6
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5d0
test byte [eax + 0x1c], 1
je 0x1000e5d0
cmp byte [eax + 0x19], 2
jb 0x1000e5d0
push esi
push ecx
mov ecx, 0x148
push dword [eax + 0x14]
mov edx, 0x10002598
push dword [eax + 0x10]
call fcn.1000677f
jmp 0x1000e5d0
mov cx, word [ebp - 8]
xor edx, edx
call fcn.10026276
mov esi, eax
test esi, esi
je 0x1000e52c
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5d0
test byte [eax + 0x1c], 1
je 0x1000e5d0
cmp byte [eax + 0x19], 2
jb 0x1000e5d0
push esi
push ecx
mov ecx, 0x149
jmp 0x1000e4d1
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.1002566f
mov esi, eax
test esi, esi
je 0x1000e574
push 2
pop edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5d0
test byte [eax + 0x1c], 1
je 0x1000e5d0
cmp byte [eax + 0x19], 2
jb 0x1000e5d0
push esi
push ecx
mov ecx, 0x14a
jmp 0x1000e4d1
cmp dword [ebp - 0x24], 3
je 0x1000e5bd
push 2
pop edx
call fcn.100065f3
mov esi, 0x8010001f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5d0
test byte [eax + 0x1c], 1
je 0x1000e5d0
cmp byte [eax + 0x19], 2
jb 0x1000e5d0
push esi
push 0x10002540
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x14b
push dword [eax + 0x10]
call fcn.10006850
jmp 0x1000e5d0
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 0x1000e5dd
mov edx, ebx
mov ecx, edi
call fcn.1002498e
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000e5eb
mov ecx, edi
call fcn.1002498e
xor edx, edx
inc edx
call fcn.100065f3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e622
test byte [eax + 0x1c], 2
je 0x1000e622
cmp byte [eax + 0x19], 5
jb 0x1000e622
push esi
push ecx
push dword [eax + 0x14]
mov edx, 0x10002598
mov ecx, 0x14c
push dword [eax + 0x10]
call fcn.1000677f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret