Function at 0x412680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ff68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 0x441590
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x46788c
push 0x80000001
mov byte [ebp - 4], 1
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da70]
cmp eax, ebx
jne 0x4126e9
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, esi
jmp 0x412717
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467ba8
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x412714
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da74]
cmp eax, ebx
mov dword [0x46da70], ecx
jne 0x41272b
mov ecx, esi
jmp 0x412753
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467ba0
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x412750
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da78]
cmp eax, ebx
mov dword [0x46da74], ecx
jne 0x412767
mov ecx, esi
jmp 0x41278f
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b98
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x41278c
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da7c]
cmp eax, ebx
mov dword [0x46da78], ecx
jne 0x4127a3
mov ecx, esi
jmp 0x4127cb
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b90
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4127c8
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da80]
cmp eax, ebx
mov dword [0x46da7c], ecx
jne 0x4127df
mov ecx, esi
jmp 0x412807
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b8c
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x412804
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da84]
cmp eax, ebx
mov dword [0x46da80], ecx
jne 0x41281b
mov ecx, esi
jmp 0x412843
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b80
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x412840
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da8c]
cmp eax, ebx
mov dword [0x46da84], ecx
jne 0x412857
mov ecx, esi
jmp 0x41287f
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b78
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x41287c
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da94]
cmp eax, ebx
mov dword [0x46da8c], ecx
jne 0x412893
mov ecx, esi
jmp 0x4128bb
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b6c
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4128b8
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da90]
cmp eax, ebx
mov dword [0x46da94], ecx
jne 0x4128cf
mov ecx, esi
jmp 0x4128f7
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b64
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x4128f4
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da88]
cmp eax, ebx
mov dword [0x46da90], ecx
jne 0x41290b
mov ecx, esi
jmp 0x412933
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b5c
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x412930
mov ecx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x46da98]
cmp eax, ebx
mov dword [0x46da88], ecx
je 0x412966
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
push 0x467b50
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 4
call edi
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x412968
mov eax, esi
mov dword [0x46da98], eax
push 0x467b4c
lea eax, [ebp - 0x30]
push 0x467b44
push eax
lea ecx, [ebp - 0x20]
call fcn.00412af0
mov esi, dword [eax + 4]
mov byte [ebp - 4], 2
cmp esi, ebx
jne 0x41299b
mov esi, 0x4413c8
cmp esi, ebx
jne 0x41299b
xor eax, eax
jmp 0x4129a2
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push esi
push eax
mov ecx, 0x46da9c
call fcn.0040ed40
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004012a0
push 0x46da6c
lea ecx, [ebp - 0x30]
push 0x467b38
push ecx
lea ecx, [ebp - 0x20]
call fcn.00412af0
mov esi, dword [eax + 4]
mov byte [ebp - 4], 3
cmp esi, ebx
jne 0x4129ea
mov esi, 0x4413c8
cmp esi, ebx
jne 0x4129ea
xor eax, eax
jmp 0x4129f1
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push esi
push eax
mov ecx, 0x46daa0
call fcn.0040ed40
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004012a0
push 0x46da6c
lea edx, [ebp - 0x30]
push 0x467b30
push edx
lea ecx, [ebp - 0x20]
call fcn.00412af0
mov eax, dword [eax + 4]
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x412a31
mov eax, 0x4413c8
push eax
mov ecx, 0x46daa4
call fcn.0040feb0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004012a0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00412c70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret