Function at 0x10025880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bd1d
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x100a04fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
xor ebx, ebx
mov esi, 0x10
mov eax, esi
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 4], ebx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead000b
lea ecx, [ebp - 0x54]
push 0x1a6beef
push ecx
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x10025908
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x40], esi
jb 0x10025930
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 8
call fcn.10073d20
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa4], eax
cmp eax, ebx
je 0x1002594f
mov dword [eax], 0xabab01a6
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10025977
mov edx, dword [ebp - 0xa4]
mov dword [edx], 0xcdcd01a6
jmp 0x10025977
test byte [0x100a4bb0], 1
mov dword [ebp - 0xac], 6
jne 0x100259b2
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x100259b5
or esi, 0xffffffff
lea eax, [ebp - 0xac]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10025ad3
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10025a07
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x10025a15
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 4
test byte [0x100a4bb0], 1
jne 0x10025a57
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xac], ecx
call eax
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x10025aa0
cmp dword [edi + 0x14], 8
jb 0x10025a85
mov eax, dword [edi]
jmp 0x10025a87
mov eax, edi
mov edx, dword [ecx]
push 0x1a6
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x10025ac7
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], esi
call fcn.10023b80
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
je 0x10025ae3
mov dword [eax], 0xcdcd01a7
test byte [0x100a4bb0], 1
mov dword [ebp - 0xac], 6
jne 0x10025b19
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], esi
lea eax, [ebp - 0xac]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10025c63
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 8
call fcn.10023cb0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x10025b6d
push 0x13
push str.EnterFunction_Name
mov ecx, edi
call fcn.100041d0
jmp 0x10025b7b
push str.EnterFunction_Name
push eax
call fcn.10012390
add esp, 8
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp - 0xa0]
cmp eax, ebx
jne 0x10025b95
push 0xffffffffffffffff
push ebx
push esi
mov ecx, edi
call fcn.100040c0
jmp 0x10025b9f
push esi
push eax
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 9
test byte [0x100a4bb0], 1
jne 0x10025be1
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xa
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xac], ecx
call eax
mov byte [ebp - 4], 0xb
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x10025c2a
cmp dword [edi + 0x14], 8
jb 0x10025c0f
mov eax, dword [edi]
jmp 0x10025c11
mov eax, edi
mov edx, dword [ecx]
push 0x1a7
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 9
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x10025c51
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
jmp 0x10025c69
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xa5]
push eax
push edi
mov edx, esi
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0x95], 1
call fcn.10026190
add esp, 8
test al, al
je 0x10025dbb
cmp byte [ebp - 0xa5], bl
jne 0x10025dc2
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
je 0x10025cb8
mov dword [eax], 0xcdcd01b3
test byte [0x100a4bb0], 1
mov dword [ebp - 0x9c], 2
jne 0x10025cf2
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xc
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10025dbb
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0xd
call fcn.10023cb0
mov edx, str.No_such_value._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10025d53
mov edx, dword [ebp - 0xa0]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, eax
call fcn.100040c0
jmp 0x10025d63
mov eax, dword [ebp - 0xa0]
push eax
push ecx
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
push 0x1b3
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push 2
mov byte [ebp - 4], 0xe
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x10025dab
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x10026162
mov ecx, dword [ebp - 0xb8]
push edi
lea edx, [ebp - 0xb0]
call fcn.10027500
add esp, 4
test al, al
je 0x10025dbb
mov ecx, dword [ebp - 0xb0]
cmp ecx, ebx
jne 0x10025e8b
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
je 0x10025df9
mov dword [eax], 0xcdcd01bd
lea ecx, [ebp - 0x9c]
push ecx
push ecx
mov dword [ebp - 0x9c], 2
call fcn.100230e0
add esp, 4
mov edi, eax
call fcn.100235e0
test al, al
je 0x10025dbb
mov eax, 0xf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.10023cb0
mov edx, str.No_such_path
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x10
push 0x1bd
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push 2
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
jmp 0x10025dab
cmp dword [esi + 0x14], 8
jb 0x10025e95
mov eax, dword [esi]
jmp 0x10025e97
mov eax, esi
mov edi, dword [ebp - 0xb4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add edi, 0x20
push edi
push ebx
push ebx
push ebx
push eax
push ecx
call esi
cmp eax, 0xea
je 0x10025ebd
cmp eax, ebx
jne 0x10025ff1
mov ecx, dword [edi]
add ecx, 5
push ecx
push 1
call dword [sym.imp.MSVCR100.dll_calloc]
mov edx, dword [ebp - 0xb4]
add esp, 8
mov dword [edx + 0x24], eax
cmp eax, ebx
je 0x10025feb
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0x14], 8
jb 0x10025eed
mov ecx, dword [ecx]
push edi
push eax
mov eax, edx
add eax, 0x1c
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0xb0]
push ecx
call esi
mov esi, eax
cmp esi, ebx
je 0x10025ff1
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
je 0x10025f1a
mov dword [eax], 0xcdcd01cf
lea edx, [ebp - 0x9c]
push edx
push ecx
mov dword [ebp - 0x9c], 2
call fcn.100230e0
add esp, 4
mov edi, eax
call fcn.100235e0
test al, al
je 0x10025feb
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
push ecx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x11
call fcn.10023cb0
mov edx, str.RegQueryValueExW_failed._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0xa0]
mov esi, eax
call fcn.100237a0
mov edx, str.__Error_Code_
mov esi, eax
call fcn.100237d0
add esp, 4
mov esi, eax
call fcn.10023a60
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
push ecx
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x1cf
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push 2
mov byte [ebp - 4], 0x12
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov edx, edi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov byte [ebp - 0x95], bl
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [ebp - 0xa4]
je 0x1002609c
cmp eax, ebx
je 0x10026016
mov dword [eax], 0xcdcd01d8
lea ecx, [ebp - 0x9c]
push ecx
push ecx
mov dword [ebp - 0x9c], 2
call fcn.100230e0
add esp, 4
mov edi, eax
call fcn.100235e0
test al, al
je 0x10025dbb
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x13
call fcn.10023cb0
mov edx, str.RegCloseKey_failed._Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0xa0]
mov esi, eax
call fcn.100237a0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x14
push 0x1d8
jmp 0x10025e66
cmp eax, ebx
je 0x100260a6
mov dword [eax], 0xcdcd01dd
lea ecx, [ebp - 0x9c]
push ecx
push ecx
mov dword [ebp - 0x9c], 6
call fcn.100230e0
add esp, 4
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002615c
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x78]
mov dword [ebp - 4], 0x15
call fcn.10023cb0
mov edx, str.ExitFunction_Name
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0xa0]
mov esi, eax
call fcn.100237a0
mov ecx, dword [ebp - 0x58]
push 0x1ff
push ebx
lea edx, [ebp - 0x94]
push edx
call fcn.10001ab0
mov ebx, eax
push 0x1dd
push str.RegistryHandler::GetValue
push str.RegistryHandler.cpp
push 6
mov byte [ebp - 4], 0x16
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x94]
call fcn.10002a10
mov eax, edi
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, byte [ebp - 0x95]
lea esp, [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007236c
mov esp, ebp
pop ebp
ret