Function at 0x100a859
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6fc
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 0x624], ebx
cmp dword [ebp + 0xc], ebx
jne 0x100a8a0
cmp word [0x105d878], bx
jne 0x100a8be
push ebx
push 0x100a815
push eax
push 0x6a
push dword [0x101d054]
call dword [fcn.01001214]
cmp eax, 1
jne 0x100b0cd
push esi
push edi
push 1
call fcn.01003bef
test byte [0x105d120], 0xc
mov esi, dword [fcn.01001388]
je 0x100aa79
push 1
push 0xffffffffffffffff
mov edi, 0x100c
push edi
push dword [0x101d094]
call esi
lea ecx, [ebp - 0x204]
push ebx
mov dword [ebp - 0x6a4], eax
mov dword [ebp - 0x6a0], ebx
mov dword [ebp - 0x6a8], 1
mov dword [ebp - 0x694], ecx
mov dword [ebp - 0x690], 0x100
push eax
jmp 0x100aa61
lea eax, [ebp - 0x6a8]
push eax
push ebx
push 0x104b
push dword [0x101d094]
call esi
test byte [0x105d120], 4
je 0x100a951
lea eax, [ebp - 0x204]
push eax
call fcn.0100a60d
test eax, eax
jne 0x100afbe
test byte [0x105d120], 8
je 0x100aa5a
lea eax, [ebp - 0x618]
push eax
push ebx
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x101d0a8]
call fcn.01003313
test eax, eax
jne 0x100aa5a
mov eax, dword [ebp - 0x60c]
cmp eax, 1
je 0x100a9a1
cmp eax, 2
je 0x100a9a1
cmp eax, 7
jne 0x100aa5a
mov ecx, dword [ebp - 0x618]
push 2
pop eax
add eax, ecx
push eax
push 0x40
call dword [fcn.01001188]
mov dword [ebp - 0x608], eax
cmp eax, ebx
je 0x100ab90
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x608]
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x101d0a8]
mov dword [ebp - 0x610], ebx
call fcn.01003313
test eax, eax
jne 0x100aa42
cmp dword [ebp - 0x60c], 7
jne 0x100aa31
mov eax, dword [ebp - 0x608]
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x618]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x644]
push eax
call fcn.0100fe4b
test eax, eax
je 0x100aa31
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x608], eax
push dword [ebp - 0x608]
call fcn.0100a60d
mov dword [ebp - 0x610], eax
push dword [ebp - 0x608]
call dword [fcn.01001184]
cmp dword [ebp - 0x610], ebx
jne 0x100afbe
push ebx
push dword [ebp - 0x6a4]
push edi
push dword [0x101d094]
call esi
mov dword [ebp - 0x6a4], eax
cmp eax, 0xffffffff
jne 0x100a91f
push ebx
push 0x100a7e7
push dword [ebp - 0x61c]
xor edi, edi
push 0x6d
push dword [0x101d054]
inc edi
mov dword [0x105e020], edi
call dword [0x10012a8]
mov dword [ebp - 0x624], eax
cmp eax, ebx
je 0x100aac5
push ebx
push dword [ebp - 0x61c]
call dword [0x1001210]
push ebx
push ebx
push 0xb
push dword [0x101d090]
mov dword [0x101d0e4], edi
call esi
push ebx
push 9
xor eax, eax
mov edi, 0x110a
push edi
push dword [0x101d090]
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x604]
mov dword [ebp - 0x608], ebx
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x66c], 0x49
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x658], 0x100
call esi
mov dword [ebp - 0x668], eax
lea eax, [ebp - 0x66c]
push eax
push ebx
push 0x113e
push dword [0x101d090]
call esi
push dword [ebp - 0x624]
call fcn.0100a7bf
test eax, eax
je 0x100b032
cmp dword [ebp - 0x64c], ebx
je 0x100abe9
push dword [ebp - 0x668]
push 4
push edi
push dword [0x101d090]
call esi
cmp eax, ebx
jne 0x100abfe
push dword [ebp - 0x668]
push dword [0x101d090]
call fcn.0100b4cd
test eax, eax
je 0x100abe9
push dword [ebp - 0x668]
push 4
push edi
push dword [0x101d090]
call esi
cmp eax, ebx
je 0x100abe9
inc dword [ebp - 0x608]
jmp 0x100abfe
mov dword [ebp - 0x630], 1
mov dword [ebp - 0x610], 0x132
jmp 0x100b032
push dword [ebp - 0x668]
push 3
push edi
push dword [0x101d090]
call esi
mov dword [ebp - 0x668], eax
cmp eax, ebx
je 0x100b028
cmp dword [ebp - 0x608], ebx
je 0x100abe9
dec dword [ebp - 0x608]
push eax
push 0x8001
push 0x1102
push dword [0x101d090]
call esi
push dword [ebp - 0x668]
push 1
push edi
push dword [0x101d090]
call esi
cmp eax, ebx
je 0x100aba9
mov dword [ebp - 0x668], eax
lea eax, [ebp - 0x66c]
push eax
push ebx
push 0x113e
push dword [0x101d090]
call esi
test byte [0x105d120], 2
je 0x100ac36
lea eax, [ebp - 0x604]
push eax
call fcn.0100a60d
test eax, eax
jne 0x100af2f
test byte [0x105d120], 0xc
je 0x100aede
push ebx
push 0x100
lea eax, [ebp - 0x604]
push eax
push dword [ebp - 0x668]
push dword [0x101d090]
call fcn.01002c60
cmp eax, ebx
je 0x100aede
lea ecx, [ebp - 0x620]
push ecx
push 1
push ebx
lea ecx, [ebp - 0x604]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100aede
mov eax, dword [0x105d120]
and eax, 0xd
cmp al, 5
jne 0x100acd6
push ebx
push ebx
push ebx
push ebx
push 0x105d878
push dword [ebp - 0x620]
call fcn.01003313
test eax, eax
jne 0x100aeca
push 0x105d878
push 0x100
lea eax, [ebp - 0x404]
push eax
call fcn.01002d3f
mov dword [ebp - 0x628], 1
jmp 0x100aeca
lea eax, [ebp - 0x618]
push eax
push ebx
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x610], ebx
push ebx
jmp 0x100aeac
inc dword [ebp - 0x610]
test byte [0x105d120], 8
je 0x100ad4a
cmp dword [ebp - 0x60c], 1
je 0x100ad2e
cmp dword [ebp - 0x60c], 2
je 0x100ad2e
cmp dword [ebp - 0x60c], 7
je 0x100ad2e
xor eax, eax
jmp 0x100ad31
push 2
pop eax
mov ecx, dword [ebp - 0x618]
add eax, ecx
push eax
push 0x40
call dword [fcn.01001188]
mov dword [ebp - 0x614], eax
jmp 0x100ad50
mov dword [ebp - 0x614], ebx
cmp dword [ebp - 0x614], ebx
jne 0x100ad65
test byte [0x105d120], 8
jne 0x100ab90
lea eax, [ebp - 0x618]
push eax
push dword [ebp - 0x614]
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x620]
call fcn.01003313
test eax, eax
jne 0x100ae74
cmp dword [ebp - 0x614], ebx
je 0x100add9
cmp dword [ebp - 0x60c], 7
jne 0x100add9
mov eax, dword [ebp - 0x614]
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x618]
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x644]
push eax
call fcn.0100fe4b
test eax, eax
je 0x100add9
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x614], eax
test byte [0x105d120], 4
je 0x100adf2
lea eax, [ebp - 0x204]
push eax
call fcn.0100a60d
test eax, eax
jne 0x100ae25
test byte [0x105d120], 8
je 0x100ae74
cmp dword [ebp - 0x60c], 1
je 0x100ae16
cmp dword [ebp - 0x60c], 2
je 0x100ae16
cmp dword [ebp - 0x60c], 7
jne 0x100ae74
push dword [ebp - 0x614]
call fcn.0100a60d
test eax, eax
je 0x100ae74
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x628], ebx
je 0x100ae5f
push eax
call dword [0x1001180]
test eax, eax
jle 0x100ae74
lea eax, [ebp - 0x204]
push eax
push 0x100
lea eax, [ebp - 0x404]
push eax
call fcn.01002d3f
jmp 0x100ae74
push 0x100
push eax
call fcn.01002d3f
mov dword [ebp - 0x628], 1
cmp dword [ebp - 0x614], ebx
je 0x100ae88
push dword [ebp - 0x614]
call dword [fcn.01001184]
lea eax, [ebp - 0x618]
push eax
push ebx
lea eax, [ebp - 0x60c]
push eax
push ebx
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x610]
push dword [ebp - 0x620]
mov dword [ebp - 0x634], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100ad00
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x628], ebx
jne 0x100af2f
push dword [ebp - 0x624]
call fcn.0100a7bf
test eax, eax
jne 0x100ab39
cmp dword [ebp - 0x608], ebx
je 0x100b032
mov eax, dword [ebp - 0x668]
push eax
push 3
push edi
push dword [0x101d090]
call esi
dec dword [ebp - 0x608]
jne 0x100af03
push eax
push 0x8001
push 0x1102
push dword [0x101d090]
call esi
jmp 0x100b032
push dword [ebp - 0x668]
push ebx
push 0x1114
push dword [0x101d090]
call esi
push dword [ebp - 0x668]
push 9
push 0x110b
push dword [0x101d090]
call esi
cmp dword [ebp - 0x628], ebx
jne 0x100af70
mov eax, dword [0x101d090]
mov dword [ebp - 0x62c], eax
jmp 0x100b032
push dword [ebp - 0x61c]
call fcn.0100be1b
cmp word [ebp - 0x404], bx
jne 0x100af8c
mov dword [ebp - 0x6a4], ebx
jmp 0x100afbe
lea eax, [ebp - 0x404]
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6c0]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [0x101d094]
mov dword [ebp - 0x6c0], 2
call esi
mov dword [ebp - 0x6a4], eax
lea eax, [ebp - 0x6fc]
push eax
push 0xffffffffffffffff
mov edi, 0x102b
push edi
push dword [0x101d094]
mov dword [ebp - 0x6ec], 3
mov dword [ebp - 0x6f0], ebx
call esi
push 3
pop eax
mov dword [ebp - 0x6ec], eax
mov dword [ebp - 0x6f0], eax
lea eax, [ebp - 0x6fc]
push eax
push dword [ebp - 0x6a4]
push edi
push dword [0x101d094]
call esi
push ebx
push dword [ebp - 0x6a4]
push 0x1013
push dword [0x101d094]
call esi
mov eax, dword [0x101d094]
jmp 0x100af65
mov dword [ebp - 0x638], 1
push ebx
call fcn.01003bef
cmp dword [ebp - 0x624], ebx
je 0x100b06d
push ebx
push 1
push 0xb
push dword [0x101d090]
mov dword [0x101d0e4], ebx
call esi
push 1
push dword [ebp - 0x61c]
call dword [0x1001210]
push dword [ebp - 0x624]
call dword [0x10012a4]
pop edi
pop esi
cmp dword [ebp - 0x62c], ebx
je 0x100b083
push dword [ebp - 0x62c]
call dword [fcn.010013b0]
cmp dword [ebp - 0x630], ebx
je 0x100b0ab
movzx eax, word [ebp - 0x610]
push 0x10
push 0x10
push eax
push dword [ebp - 0x61c]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x14
cmp dword [ebp - 0x638], ebx
je 0x100b0cd
push 0x40
push 0x10
push 0x29
push dword [ebp - 0x61c]
push dword [0x101d054]
call fcn.0100ca02
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 8