Function at 0xa404f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0xa45214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x210], edi
test edx, edx
jne 0xa40642
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], esi
push eax
push esi
push edi
mov dword [ebp - 0x218], 0x104
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0xa4062f
push 0x2e
pop eax
cmp word [ebp - 0x20c], ax
je 0xa405f5
lea edi, [ebp - 0x20c]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, si
jne 0xa40567
sub edi, ecx
mov edx, 0x104
sar edi, 1
lea eax, [edi + 0x14]
cmp eax, edx
ja 0xa405ef
push 0xa386d8
lea ecx, [ebp - 0x20c]
call fcn.00a22c30
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00a40dc7
add edi, edi
mov ebx, eax
cmp edi, 0x208
jae 0xa40622
xor eax, eax
mov word [ebp + edi - 0x20c], ax
test ebx, ebx
je 0xa405e8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa405c2
sub ecx, edx
sar ecx, 1
je 0xa405e8
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0xa3868c
call fcn.00a26570
add esp, 0xc
mov ecx, ebx
call fcn.00a2107b
mov edi, dword [ebp - 0x210]
cmp dword [0xa45164], esi
jne 0xa40627
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
push esi
push esi
push esi
push esi
push ecx
lea ecx, [ebp - 0x20c]
inc eax
push ecx
mov dword [ebp - 0x214], eax
push eax
jmp 0xa40533
call fcn.00a388f6
xor eax, eax
inc eax
jmp 0xa40787
cmp ebx, 0x103
jne 0xa40785
mov ebx, esi
jmp 0xa40785
cmp word [edx], 0x2e
jne 0xa40660
push edx
push 1
push 0x400023a5
call fcn.00a2e452
add esp, 0xc
push 0x7b
pop eax
jmp 0xa40787
mov ecx, edx
call fcn.00a2221b
mov ecx, eax
call fcn.00a22258
mov edi, eax
test edi, edi
je 0xa40627
push 0x20
pop edx
mov ecx, edi
call fcn.00a22aea
test eax, eax
je 0xa40687
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa4068e
sub ecx, edx
mov ebx, 0x104
sar ecx, 1
push edi
lea eax, [ecx + 0x14]
cmp eax, ebx
jbe 0xa406c1
push 1
push 0x400023db
call fcn.00a2e452
add esp, 0xc
push 0x7b
pop ebx
jmp 0xa4077e
mov edx, ebx
lea ecx, [ebp - 0x20c]
call fcn.00a21417
push 0xa386d8
mov edx, ebx
lea ecx, [ebp - 0x20c]
call fcn.00a22c30
lea eax, [ebp - 0x220]
push eax
push 0x2000000
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0xa40718
push edi
push 1
push 0x400023a5
call fcn.00a2e452
add esp, 0xc
jmp 0xa4077e
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00a40dc7
mov edx, eax
mov dword [ebp - 0x210], edx
test edx, edx
je 0xa40763
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x214], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa40740
sub ecx, dword [ebp - 0x214]
sar ecx, 1
je 0xa40763
push edx
push edi
push 0xa3868c
call fcn.00a26570
jmp 0xa40770
push edi
push 1
push 0x400023a5
call fcn.00a2e452
mov ecx, dword [ebp - 0x210]
add esp, 0xc
call fcn.00a2107b
mov ecx, edi
call fcn.00a2107b
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a213b9
mov esp, ebp
pop ebp
ret