Function at 0x4619a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6b91e0
push 0x60aa80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6d3438]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4619f5
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x461bc8
test dword [ebp + 0x18], 1
jne 0x461a34
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
cmp dword [ebp + 0x1c], eax
je 0x461a22
push dword [ebp + 8]
call fcn.004625c0
jmp 0x461bc8
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x461bc8
mov esi, dword [ebp + 0xc]
test edi, edi
jne 0x461a47
test esi, esi
jne 0x461a47
lea eax, [esi + 0x57]
jmp 0x461bc8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
call fcn.00462350
test esi, esi
je 0x461a62
mov ecx, dword [ebp - 0x28]
mov dword [esi], ecx
test eax, eax
jne 0x461bc8
test edi, edi
je 0x461bc8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x24]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x461af2
cmp edx, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x461ac2
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.00608f50
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x34], esi
test esi, esi
je 0x461af4
mov dword [esi], 0xcccc
add esi, 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x461b2b
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.0060dd8e
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x461af4
mov dword [esi], 0xdddd
add esi, 8
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x461b2b
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x461b2b
test esi, esi
jne 0x461b37
lea eax, [esi + 0xe]
jmp 0x461bc8
push dword [ebp - 0x24]
push 0
push esi
call fcn.0060a8e0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov ecx, ebx
call fcn.00462350
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x461bb1
cmp dword [ebp + 0x1c], eax
je 0x461b88
mov ecx, dword [ebp - 0x28]
cmp ecx, 1
je 0x461b71
cmp ecx, 7
jne 0x461b88
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
push edi
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call fcn.00462270
mov dword [ebp - 0x20], eax
jmp 0x461bb1
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x24]
test ecx, ecx
je 0x461baf
mov edx, dword [edi]
cmp ebx, edx
jbe 0x461ba2
mov eax, 0xea
mov dword [ebp - 0x20], eax
jmp 0x461baf
push ebx
push esi
call fcn.0042fb10
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [edi], ebx
add esi, 0xfffffff8
cmp dword [esi], 0xdddd
jne 0x461bc8
push esi
call fcn.0060dd99
mov eax, dword [ebp - 0x20]
add esp, 4
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 0x18