Function at 0x430550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c82c6
mov eax, dword fs:[0]
push eax
mov eax, 0xe800
call fcn.004a7530
mov eax, dword [0x51eee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe80c], eax
mov ecx, dword [0x520340]
xor ebx, ebx
cmp byte [0x520a34], bl
lea eax, [ecx + 1]
sete bl
imul eax, ecx
cdq
mov ecx, 0xf
idiv ecx
add ebx, 0x80000001
mov dword [ebp - 4], 0
cmp edx, 4
jne 0x4305c6
call fcn.004a6f99
mov dword [0x520340], eax
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe7f8], eax
mov esi, dword [0x520340]
mov byte [ebp - 4], 1
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x17
idiv ecx
cmp edx, 0x13
jne 0x430620
mov edx, 1
mov eax, edx
mov ecx, 0x72
jmp 0x430610
dec ecx
lea esi, [eax + edx]
lea edx, [eax]
mov eax, esi
jns 0x430610
mov dword [0x520340], esi
or edi, 0xffffffff
cmp byte [ebp + 0x10], 0
je 0x4306b5
call fcn.00432b50
test al, al
jne 0x430643
lea eax, [ebp - 0xe7e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp byte [0x51a24c], 0
jne 0x4306af
mov eax, dword [0x520b74]
cmp dword [eax - 0xc], 0
jne 0x43065e
mov ebx, SysReAllocStringLen
jmp 0x4306af
push 0x4d95f8
lea eax, [ebp - 0xe7e8]
push 0x520b74
push eax
mov ebx, VariantInit
call fcn.0040b720
add esp, 0xc
push eax
lea ecx, [ebp - 0xe7f8]
mov byte [ebp - 4], 2
call fcn.00402af0
mov edx, dword [ebp - 0xe7e8]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4306af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x520340]
mov dword [ebp - 0xe808], 0
mov dword [ebp - 0xe804], 0
mov dword [ebp - 0xe800], 0
mov byte [ebp - 4], 3
call fcn.00432b00
test al, al
jne 0x43071b
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
push eax
call fcn.004a7190
add esp, 8
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe7e4], eax
mov eax, str.Software_
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x430762
movzx esi, ax
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x430772
push esi
push eax
lea ecx, [ebp - 0xe7e4]
call fcn.00407650
jmp 0x430772
push str.Software_
lea ecx, [ebp - 0xe7e4]
call fcn.0040b410
lea eax, [ebp - 0xe7e4]
push eax
lea eax, [ebp - 0xe7f8]
push eax
lea eax, [ebp - 0xe7f4]
push eax
mov byte [ebp - 4], 5
call fcn.0040b660
push 0x520b78
push eax
lea eax, [ebp - 0xe7f0]
push eax
mov byte [ebp - 4], 6
call fcn.0040b660
push 0x4d95f8
push eax
lea eax, [ebp - 0xe7ec]
push eax
mov byte [ebp - 4], 7
call fcn.0040b720
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0xe7e8]
push eax
mov byte [ebp - 4], 8
call fcn.0040b660
add esp, 0x30
lea ecx, [ebp - 0xe808]
push 1
push dword [eax]
push ebx
call fcn.0040bf10
mov edx, dword [ebp - 0xe7e8]
test eax, eax
setne bl
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe7ec]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43082b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe7f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43084e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe7f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430871
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe7e4]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430894
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4308a5
mov edi, dword [ebp - 0xe808]
xor bl, bl
jmp 0x430bfd
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0xe7fc], 0x400
call fcn.004a7560
mov esi, dword [0x520340]
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, 0xd
idiv ecx
add esp, 0xc
cmp edx, 3
jne 0x43095f
xor eax, eax
push 0xdf20
push eax
mov word [ebp - 0xe734], ax
lea eax, [ebp - 0xe732]
push eax
call fcn.004a7560
add esp, 0xc
xor edi, edi
xor esi, esi
lea ebx, [ebx]
xor edx, edx
test edi, edi
je 0x43093a
test edx, edx
je 0x43093a
lea eax, [esi + edx]
lea ecx, [ebp - 0xe734]
lea ecx, [ecx + eax*2]
lea eax, [esi + edx]
mov ax, word [ebp + eax*2 - 0xe886]
inc ax
add ax, word [ecx - 2]
mov word [ecx], ax
inc edx
cmp edx, 0xa9
jl 0x430912
add esi, 0xa9
inc edi
cmp esi, 0x6f91
jl 0x430910
movsx esi, word [ebp - 0x814]
mov dword [0x520340], esi
mov edi, dword [ebp - 0xe808]
mov dword [ebp - 0xe7ec], 0
nop
call fcn.00432ad0
test al, al
jne 0x4309b1
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a5340
push eax
call fcn.004a7190
add esp, 8
mov esi, dword [ebp - 0xe7ec]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xe7fc]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
inc esi
mov dword [ebp - 0xe7f0], ebx
mov dword [ebp - 0xe7ec], esi
test ebx, ebx
je 0x4309f4
cmp ebx, 0x103
jne 0x430b81
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe7e4], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x430a3c
movzx esi, ax
push 0
push esi
call fcn.00403b80
add esp, 8
test eax, eax
je 0x430a67
push esi
push eax
lea ecx, [ebp - 0xe7e4]
call fcn.00407650
jmp 0x430a67
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430a45
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xe7e4]
call fcn.00409950
mov eax, dword [ebp - 0xe7e4]
mov byte [ebp - 4], 0xa
cmp dword [eax - 0xc], 0
je 0x430b3d
call fcn.00432aa0
test al, al
jne 0x430af4
mov edi, dword [0x520340]
mov eax, edi
cdq
sub eax, edx
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov esi, 0xce
mov dword [ebp - 0xe7e8], ecx
mov dword [ebp - 0xe7f4], ebx
test ebx, ebx
jle 0x430add
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x430acc
mov eax, edx
mov ecx, edi
add esi, eax
dec eax
dec ecx
jne 0x430ac0
mov ecx, dword [ebp - 0xe7e8]
add edx, ecx
dec ebx
jne 0x430ab8
mov ebx, dword [ebp - 0xe7f4]
mov edi, dword [0x520340]
inc ecx
mov dword [ebp - 0xe7e8], ecx
cmp ecx, esi
jl 0x430aa6
mov ebx, dword [ebp - 0xe7f0]
mov edi, dword [ebp - 0xe808]
mov ecx, dword [ebp - 0xe80c]
lea eax, [ebp - 0xe7e4]
push eax
call fcn.00429b60
mov eax, dword [0x520340]
imul eax, eax
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 2
jne 0x430b3d
mov eax, 0xe8
mov esi, 0x54
test esi, esi
je 0x430b36
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x430b25
add eax, esi
mov dword [0x520340], eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0xe7fc], 0x400
call fcn.004a7560
mov edx, dword [ebp - 0xe7e4]
add edx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430b81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x520340]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 8
jne 0x430ba7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov esi, dword [0x520340]
test ebx, ebx
je 0x430970
test edi, edi
je 0x430bc2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x520340]
xor edi, edi
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 0x13
jne 0x430bfb
lea eax, [ecx + 0x68]
mov esi, 0x92
test esi, esi
je 0x430bf4
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x430be3
add eax, esi
mov dword [0x520340], eax
mov bl, 1
test edi, edi
je 0x430c08
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xe7f8]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x430c2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x430c4f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a63c4
mov esp, ebp
pop ebp
ret