Function at 0x1000e1af
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 4], 0x5c
xor ecx, ecx
mov dword [ebp - 0x28], 4
xor eax, eax
mov dword [ebp - 0xc], ecx
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov word [ebp - 8], ax
mov dword [ebp - 0x1c], ecx
call fcn.10006623
mov eax, dword [section..data]
push 2
pop ebx
cmp eax, section..data
je 0x1000e21d
test byte [eax + 0x1c], bl
je 0x1000e21d
cmp byte [eax + 0x19], 5
jb 0x1000e21d
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x141
push dword [eax + 0x10]
call fcn.10006760
test edi, edi
jne 0x1000e270
mov edx, ebx
call fcn.10006623
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push 0x10001a74
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x142
push dword [eax + 0x10]
call fcn.10006800
jmp 0x1000e591
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.10007571
mov esi, eax
test esi, esi
je 0x1000e2c6
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push ecx
mov ecx, 0x143
push dword [eax + 0x14]
mov edx, 0x100025a8
push dword [eax + 0x10]
call fcn.100067ad
jmp 0x1000e591
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov ecx, edi
and dword [eax + 0x18], 0
call fcn.10009fab
mov esi, eax
test esi, esi
je 0x1000e310
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push ecx
mov ecx, 0x144
jmp 0x1000e2b1
cmp dword [ebp - 0x18], ebx
jne 0x1000e591
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x18
push 0x10002468
push 0x10002490
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x1000e38b
cmp dword [ebp - 0x1c], eax
je 0x1000e3c0
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], 4
jb 0x1000e591
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x145
push dword [eax + 0x10]
call fcn.10006760
jmp 0x1000e591
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e3c0
test byte [eax + 0x1c], 1
je 0x1000e3c0
cmp byte [eax + 0x19], 4
jb 0x1000e3c0
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x146
push dword [eax + 0x10]
call fcn.10006760
and dword [ebp - 0x18], 0
mov ecx, edi
push 0x72
pop edx
call fcn.1002469f
mov esi, eax
test esi, esi
jne 0x1000e3db
xor esi, esi
jmp 0x1000e591
lea eax, [ebp - 0x18]
push eax
push 0x72
push esi
push 0
push 0
push 0x313520
push dword [edi + 0x34]
call dword [sym.imp.WinSCard.dll_SCardControl]
mov edx, esi
mov ecx, edi
mov ebx, eax
call fcn.100246b7
test ebx, ebx
je 0x1000e445
cmp ebx, 0x80100008
je 0x1000e445
push 2
pop ebx
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e3d4
test byte [eax + 0x1c], 1
je 0x1000e3d4
cmp byte [eax + 0x19], 4
jb 0x1000e3d4
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x147
push dword [eax + 0x10]
call fcn.10006760
jmp 0x1000e3d4
push 0
lea eax, [ebp - 8]
xor dl, dl
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0xc]
push eax
push 2
pop ebx
push ebx
lea eax, [ebp - 4]
push eax
push 1
push 0x2f
push 0xcb
call fcn.1003be85
mov esi, eax
test esi, esi
je 0x1000e4a9
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push ecx
mov ecx, 0x148
jmp 0x1000e2b1
mov cx, word [ebp - 8]
xor edx, edx
call fcn.10025f11
mov esi, eax
test esi, esi
je 0x1000e4f0
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push ecx
mov ecx, 0x149
jmp 0x1000e2b1
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push 0x47
push dword [ebp - 0x20]
call fcn.1002535a
mov esi, eax
test esi, esi
je 0x1000e537
mov edx, ebx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push ecx
mov ecx, 0x14a
jmp 0x1000e2b1
cmp dword [ebp - 0x24], 3
je 0x1000e57e
mov edx, ebx
call fcn.10006623
mov esi, 0x8010001f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e591
test byte [eax + 0x1c], 1
je 0x1000e591
cmp byte [eax + 0x19], bl
jb 0x1000e591
push esi
push 0x10002550
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x14b
push dword [eax + 0x10]
call fcn.1000687c
jmp 0x1000e591
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [eax + 2]
shr eax, 6
and eax, 1
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x1000e5a3
mov ecx, edi
call fcn.100246b7
and dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000e5b5
mov ecx, edi
call fcn.100246b7
and dword [ebp - 0x10], 0
xor edx, edx
inc edx
call fcn.10006623
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000e5eb
test byte [eax + 0x1c], bl
je 0x1000e5eb
cmp byte [eax + 0x19], 5
jb 0x1000e5eb
push esi
push ecx
push dword [eax + 0x14]
mov edx, 0x100025a8
mov ecx, 0x14c
push dword [eax + 0x10]
call fcn.100067ad
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret