Function at 0x430220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afd52
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x620024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
call fcn.00430200
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x5f3770
push 0
push str.SoftwareDataTek
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebx
test esi, esi
je 0x4302af
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0
push str.Library
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call ebx
mov ecx, dword [ebp - 0x20]
xor eax, eax
test esi, esi
cmovne ecx, eax
mov dword [ebp - 0x24], ecx
lea eax, [ecx - 8]
cmp eax, 0x37950dd
ja 0x4304fb
push ecx
call fcn.0043f9a3
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push 0
push ebx
call fcn.00588550
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x24]
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.Library
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x4304ea
cmp dword [ebp - 0x18], 3
jne 0x4304ea
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push str.Library
push dword [ebp - 0x1c]
call esi
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call eax
xor eax, eax
test esi, esi
sete al
test eax, eax
je 0x4304f2
push 8
push ebx
push edi
call fcn.00587fd0
mov cl, byte [edi + 7]
add esp, 0xc
lea eax, [ecx - 1]
cmp al, 0x7e
ja 0x4304e4
movzx esi, cl
mov edx, 0xae
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0043f9a3
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4303ec
push fcn.00401e00
push 0x4172a0
push esi
lea ebx, [eax + 4]
mov dword [eax], esi
push 0xae
push ebx
call fcn.00586626
jmp 0x4303ee
xor ebx, ebx
mov byte [ebp - 4], 0
mov esi, 8
mov dword [edi + 8], ebx
xor bl, bl
nop dword [eax]
cmp bl, byte [edi + 7]
jae 0x4304e1
movzx eax, bl
imul ecx, eax, 0xae
mov eax, dword [ebp - 0x20]
add eax, esi
push 0xaa
push eax
mov eax, dword [edi + 8]
add eax, ecx
mov dword [ebp - 0x18], ecx
push eax
call fcn.00587fd0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add esi, 0xaa
movzx eax, word [ecx + eax + 0xa3]
test ax, ax
je 0x4304da
xor ecx, ecx
mov edx, 7
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f9a3
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [edi + 8]
add esp, 4
mov dword [ecx + eax + 0xaa], edx
mov edx, dword [edi + 8]
add edx, ecx
movzx ecx, word [edx + 0xa3]
lea eax, [ecx*8]
sub eax, ecx
push eax
push 0
push dword [edx + 0xaa]
call fcn.00588550
mov edx, dword [ebp - 0x18]
add edx, dword [edi + 8]
movzx ecx, word [edx + 0xa3]
lea eax, [ecx*8]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x20]
add eax, esi
push eax
push dword [edx + 0xaa]
call fcn.00587fd0
mov eax, dword [edi + 8]
add esp, 0x18
mov ecx, dword [ebp - 0x18]
movzx ecx, word [ecx + eax + 0xa3]
lea eax, [ecx*8]
sub eax, ecx
add esi, eax
inc bl
jmp 0x430400
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 0x11], 1
jmp 0x4304f2
push eax
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
push ebx
call fcn.0043f99e
add esp, 4
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret