Function at 0x1000eac4
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.10006785
mov eax, dword [section..data]
push 2
pop ebx
cmp eax, section..data
je 0x1000eb32
test byte [eax + 0x1c], bl
je 0x1000eb32
cmp byte [eax + 0x19], 5
jb 0x1000eb32
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x150
push dword [eax + 0x10]
call fcn.100068c8
test edi, edi
jne 0x1000eb85
mov edx, ebx
call fcn.10006785
mov esi, 0x80100004
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push 0x10001b5c
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x151
push dword [eax + 0x10]
call fcn.1000696c
jmp 0x1000eea6
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.10007737
mov esi, eax
test esi, esi
je 0x1000ebdb
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push ecx
mov ecx, 0x152
push dword [eax + 0x14]
mov edx, 0x100025f8
push dword [eax + 0x10]
call fcn.10006917
jmp 0x1000eea6
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
mov ecx, edi
and dword [eax + 0x18], 0
call fcn.1000a54a
mov esi, eax
test esi, esi
je 0x1000ec25
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push ecx
mov ecx, 0x153
jmp 0x1000ebc6
cmp dword [ebp - 0x18], ebx
jne 0x1000eea6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x18
push 0x10002578
push 0x10001aa0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x1000eca0
cmp dword [ebp - 0x1c], eax
je 0x1000ecd5
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], 4
jb 0x1000eea6
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x154
push dword [eax + 0x10]
call fcn.100068c8
jmp 0x1000eea6
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000ecd5
test byte [eax + 0x1c], 1
je 0x1000ecd5
cmp byte [eax + 0x19], 4
jb 0x1000ecd5
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x155
push dword [eax + 0x10]
call fcn.100068c8
and dword [ebp - 0x18], 0
mov ecx, edi
push 0x72
pop edx
call fcn.10025214
mov esi, eax
test esi, esi
jne 0x1000ecf0
xor esi, esi
jmp 0x1000eea6
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.10025232
test ebx, ebx
je 0x1000ed5a
cmp ebx, 0x80100008
je 0x1000ed5a
push 2
pop ebx
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000ece9
test byte [eax + 0x1c], 1
je 0x1000ece9
cmp byte [eax + 0x19], 4
jb 0x1000ece9
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x156
push dword [eax + 0x10]
call fcn.100068c8
jmp 0x1000ece9
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.1003cc6e
mov esi, eax
test esi, esi
je 0x1000edbe
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push ecx
mov ecx, 0x157
jmp 0x1000ebc6
mov cx, word [ebp - 8]
xor edx, edx
call fcn.10026aa2
mov esi, eax
test esi, esi
je 0x1000ee05
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push ecx
mov ecx, 0x158
jmp 0x1000ebc6
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.10025ee2
mov esi, eax
test esi, esi
je 0x1000ee4c
mov edx, ebx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push ecx
mov ecx, 0x159
jmp 0x1000ebc6
cmp dword [ebp - 0x24], 3
je 0x1000ee93
mov edx, ebx
call fcn.10006785
mov esi, 0x8010001f
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000eea6
test byte [eax + 0x1c], 1
je 0x1000eea6
cmp byte [eax + 0x19], bl
jb 0x1000eea6
push esi
push 0x100025a0
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x15a
push dword [eax + 0x10]
call fcn.100069e8
jmp 0x1000eea6
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 0x1000eeb8
mov ecx, edi
call fcn.10025232
and dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000eeca
mov ecx, edi
call fcn.10025232
and dword [ebp - 0x10], 0
xor edx, edx
inc edx
call fcn.10006785
mov eax, dword [section..data]
cmp eax, section..data
je 0x1000ef00
test byte [eax + 0x1c], bl
je 0x1000ef00
cmp byte [eax + 0x19], 5
jb 0x1000ef00
push esi
push ecx
push dword [eax + 0x14]
mov edx, 0x100025f8
mov ecx, 0x15b
push dword [eax + 0x10]
call fcn.10006917
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret