Function at 0x42ac80
Capabilities:
Get disk size
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9c9e
mov eax, dword fs:[0]
push eax
sub esp, 0xb6c
mov eax, dword [0x524ee0]
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 dword [ebp - 0xb3c], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
mov dword [ebp - 0xb78], ebx
mov dword [ebp - 0xb4c], 0
mov dword [ebp - 0xb48], 0
mov dword [ebp - 0xb44], 0
mov dword [ebp - 0xb60], 0
mov dword [ebp - 0xb68], 0
mov dword [ebp - 0xb50], 0x208
call fcn.004a9c90
mov eax, dword [0x524ab0]
add esp, 0xc
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb54], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xb4c]
push ecx
or eax, 0x20019
push eax
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push ebx
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or edi, 0xffffffff
test eax, eax
je 0x42adbf
push eax
lea eax, [ebp - 0xb54]
push str.RegOpenKeyEx_main__x
push eax
call fcn.00406040
add esp, 0xc
call fcn.0042ba30
test al, al
jne 0x42adb8
mov esi, dword [0x526340]
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.004a7aa0
push eax
call fcn.004a98f0
add esp, 8
xor bl, bl
jmp 0x42b8f1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xb50]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push dword [ebp - 0xb4c]
xor bl, bl
mov byte [ebp - 0xb29], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x42b8bb
mov edi, dword [0x526340]
mov ebx, 7
lea eax, [edi + 1]
imul eax, edi
cdq
lea ecx, [ebx - 1]
idiv ecx
cmp edx, 5
jne 0x42ae32
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, dword [0x526340]
test eax, eax
cmove edi, ebx
mov dword [0x526340], edi
test esi, esi
jne 0x42b766
mov edi, dword [ebp - 0xb3c]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0xb40], esi
cmp esi, dword [edi + 0x14]
je 0x42aefe
call fcn.0042b970
test al, al
jne 0x42aee2
mov esi, dword [0x526340]
mov eax, esi
cdq
xor ecx, ecx
sub eax, edx
sar eax, 1
mov edi, 0xa3
mov dword [ebp - 0xb38], ecx
mov dword [ebp - 0xb34], eax
nop
test eax, eax
jle 0x42aecb
mov eax, esi
cdq
and edx, 3
lea ebx, [edx + eax]
mov eax, dword [ebp - 0xb34]
sar ebx, 2
xor edx, edx
mov dword [ebp - 0xb30], eax
mov edi, edi
test ebx, ebx
jle 0x42aeba
mov eax, edx
mov ecx, ebx
add edi, eax
dec eax
dec ecx
jne 0x42aea8
mov eax, dword [ebp - 0xb30]
mov ecx, dword [ebp - 0xb38]
add edx, ecx
dec eax
mov dword [ebp - 0xb30], eax
jne 0x42aea0
mov eax, dword [ebp - 0xb34]
inc ecx
mov dword [ebp - 0xb38], ecx
cmp ecx, edi
jl 0x42ae80
mov esi, dword [ebp - 0xb40]
mov edi, dword [ebp - 0xb3c]
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x14]
push esi
call fcn.0042a480
add esp, 0xc
cmp eax, dword [edi + 0x14]
jne 0x42b83b
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
xor ebx, ebx
sar eax, 2
mov dword [ebp - 0xb40], ebx
test eax, eax
je 0x42b095
lea eax, [ebp - 0x420]
shr eax, 0x10
mov dword [ebp - 0xb5c], eax
jmp 0x42af30
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb38], esi
cmp dword [ebp - 0xb5c], 0
mov byte [ebp - 4], 1
jne 0x42b0dc
lea eax, [ebp - 0x420]
movzx edi, ax
push 0
push edi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x42af82
push edi
push eax
lea ecx, [ebp - 0xb38]
call fcn.004074c0
mov esi, dword [ebp - 0xb38]
mov edi, dword [ebp - 0xb3c]
mov byte [ebp - 4], 0
call fcn.0042b9d0
test al, al
jne 0x42b03b
xor ecx, ecx
mov dword [ebp - 0xb34], ecx
lea eax, [ebp - 0xb28]
jmp 0x42afb0
xor esi, esi
mov dword [ebp - 0xb30], eax
jmp 0x42afc0
mov edi, dword [0x526340]
lea eax, [esi + 1]
mov dword [ebp - 0xb58], eax
inc ecx
mov eax, edi
cdq
idiv ecx
mov eax, edi
mov ecx, edi
sub ecx, dword [ebp - 0xb34]
mov ebx, edx
cdq
imul ebx, ecx
idiv dword [ebp - 0xb58]
add ebx, eax
sub ebx, esi
push ebx
push 0x4dfc48
call fcn.004aa80e
mov eax, dword [ebp - 0xb30]
mov esi, dword [ebp - 0xb58]
mov ecx, dword [ebp - 0xb34]
add eax, 4
add esp, 8
mov dword [ebp - 0xb30], eax
cmp esi, 0xa
jl 0x42afc0
inc ecx
mov dword [ebp - 0xb34], ecx
cmp ecx, 0xd
jl 0x42afb0
mov esi, dword [ebp - 0xb38]
mov ebx, dword [ebp - 0xb40]
mov edi, dword [ebp - 0xb3c]
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x42b063
cmp dword [esi - 0xc], 0
jl 0x42b063
push eax
push esi
call fcn.004a9f2f
add esp, 8
test eax, eax
je 0x42b063
sub eax, esi
sar eax, 1
jns 0x42b847
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b07d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x28]
inc ebx
sar eax, 2
mov dword [ebp - 0xb40], ebx
cmp ebx, eax
jb 0x42af30
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb38], eax
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x42b112
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x42b124
push esi
push eax
lea ecx, [ebp - 0xb38]
call fcn.004074c0
jmp 0x42b124
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b0e5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xb38]
call fcn.00409670
mov esi, dword [ebp - 0xb38]
jmp 0x42af88
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0xb38]
call fcn.00409670
mov byte [ebp - 4], 3
call fcn.0042ba30
test al, al
jne 0x42b1fc
mov ecx, dword [0x526340]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xb58], eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xb5c], eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xb30], eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xb34], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xb74], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xb70], eax
mov eax, ecx
cdq
and edx, 7
xor ebx, ebx
add eax, edx
sar eax, 3
mov dword [ebp - 0xb40], ebx
mov dword [ebp - 0xb64], eax
lea esi, [ebp - 0x91f]
nop
mov eax, dword [0x526340]
mov cl, al
sub cl, bl
mov edi, 1
mov ebx, 0x10
add esi, 8
inc edi
dec ebx
jne 0x42b1e3
mov ebx, dword [ebp - 0xb40]
inc ebx
mov dword [ebp - 0xb40], ebx
cmp ebx, 0xa
jl 0x42b1d0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb34], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x42b244
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x42b272
push esi
push eax
lea ecx, [ebp - 0xb34]
call fcn.004074c0
jmp 0x42b272
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b250
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xb34]
call fcn.00409670
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0xb6c]
push 0x4dfbc0
push eax
mov byte [ebp - 4], 5
call fcn.0040b7a0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [ebp - 0xb38]
push dword [eax - 0xc]
mov byte [ebp - 4], 6
push eax
call fcn.0040b920
mov edx, dword [ebp - 0xb6c]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b2cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb34]
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 0x42b2ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0xb38]
lea eax, [ebp - 0xb48]
push eax
push dword [ebp + 0xc]
push 0
push ebx
push dword [ebp - 0xb78]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42b34d
push eax
lea eax, [ebp - 0xb54]
push str.RegOpenKeyEx_sub__x
push eax
call fcn.00406040
add ebx, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b804
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42b804
mov edi, dword [ebp - 0xb3c]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x20]
je 0x42b4ba
mov dword [ebp - 0xb44], 0x208
call fcn.0042ba60
test al, al
jne 0x42b394
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x526340]
test eax, eax
mov eax, 7
cmove ecx, eax
mov dword [0x526340], ecx
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb30], esi
mov byte [ebp - 4], 7
call fcn.0042ba90
test al, al
jne 0x42b3fb
mov edi, dword [0x526340]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub edi, ecx
xor ecx, ecx
lea eax, [edi + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
mov edi, dword [ebp - 0xb3c]
add esp, 8
mov edx, dword [ebp - 0xb44]
shr edx, 1
js 0x42b867
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x42b42c
push edx
lea ecx, [ebp - 0xb30]
call fcn.004085d0
mov esi, dword [ebp - 0xb30]
lea eax, [ebp - 0xb44]
push eax
push esi
lea eax, [ebp - 0xb60]
push eax
push 0
push str.DisplayName
push dword [ebp - 0xb48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b478
push dword [esi - 8]
push esi
call fcn.004a9e6a
add esp, 8
test eax, eax
js 0x42b867
cmp eax, dword [esi - 8]
jg 0x42b867
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x42b49c
lea eax, [ebp - 0xb30]
push eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
call fcn.0042a4f0
add esp, 0xc
cmp eax, dword [edi + 0x20]
jne 0x42b871
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b4ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x34]
cmp eax, dword [edi + 0x38]
je 0x42b5ec
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov dword [ebp - 0xb44], 0x208
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb30], esi
mov edx, dword [ebp - 0xb44]
shr edx, 1
mov byte [ebp - 4], 8
js 0x42b867
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x42b51b
push edx
lea ecx, [ebp - 0xb30]
call fcn.004085d0
mov esi, dword [ebp - 0xb30]
lea eax, [ebp - 0xb44]
push eax
push esi
lea eax, [ebp - 0xb60]
push eax
push 0
push str.Publisher
push dword [ebp - 0xb48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b567
push dword [esi - 8]
push esi
call fcn.004a9e6a
add esp, 8
test eax, eax
js 0x42b867
cmp eax, dword [esi - 8]
jg 0x42b867
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x42b5ce
lea eax, [ebp - 0xb30]
push eax
push dword [edi + 0x38]
push dword [edi + 0x34]
call fcn.0042a4f0
mov ecx, dword [0x526340]
mov edi, eax
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0x15
idiv ecx
add esp, 0xc
cmp edx, 0x11
jne 0x42b5bd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0xb3c]
cmp edi, dword [ecx + 0x38]
jne 0x42b871
mov edi, ecx
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b5ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x42b727
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov dword [ebp - 0xb44], 0x208
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb40], esi
mov edx, dword [ebp - 0xb44]
shr edx, 1
mov byte [ebp - 4], 9
js 0x42b867
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x42b64d
push edx
lea ecx, [ebp - 0xb40]
call fcn.004085d0
mov esi, dword [ebp - 0xb40]
lea eax, [ebp - 0xb44]
push eax
push esi
lea eax, [ebp - 0xb60]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0xb48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b699
push dword [esi - 8]
push esi
call fcn.004a9e6a
add esp, 8
test eax, eax
js 0x42b867
cmp eax, dword [esi - 8]
jg 0x42b867
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x42b709
mov ecx, dword [ebp - 0xb3c]
xor edi, edi
mov eax, dword [ecx + 0x44]
sub eax, dword [ecx + 0x40]
sar eax, 2
test eax, eax
je 0x42b6f0
mov eax, dword [ecx + 0x40]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x42b6e2
cmp dword [esi - 0xc], 0
jl 0x42b6e2
push eax
push esi
call fcn.004a9f2f
add esp, 8
test eax, eax
je 0x42b6dc
sub eax, esi
sar eax, 1
jns 0x42b871
mov ecx, dword [ebp - 0xb3c]
mov eax, dword [ecx + 0x44]
sub eax, dword [ecx + 0x40]
inc edi
sar eax, 2
cmp edi, eax
jb 0x42b6b4
call fcn.0042b9a0
test al, al
jne 0x42b709
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b727
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb48]
test eax, eax
je 0x42b742
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb48], 0
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b760
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [0x526340]
inc dword [ebp - 0xb68]
call fcn.0042b940
test al, al
jne 0x42b7c8
movsd xmm3, qword [0x4e1680]
movd xmm4, edi
xorps xmm2, xmm2
cvtdq2pd xmm4, xmm4
jmp 0x42b790
addsd xmm2, xmm3
movapd xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x42b7ae
subsd xmm2, xmm3
divsd xmm3, qword [0x4e1688]
movapd xmm1, xmm2
mulsd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm0, xmm1
comisd xmm0, xmmword [0x4e1678]
ja 0x42b790
mov esi, 0x208
mov dword [ebp - 0xb50], esi
call fcn.0042b9a0
test al, al
jne 0x42b7ec
call fcn.004a96f9
mov esi, dword [ebp - 0xb50]
mov dword [0x526340], eax
lea eax, [esi + esi]
push eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a9c90
add esp, 0xc
or edi, 0xffffffff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xb50]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0xb68]
push dword [ebp - 0xb4c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
je 0x42b8b5
jmp 0x42adf9
mov byte [ebp - 0xb29], 1
or edi, 0xffffffff
jmp 0x42b8b5
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 0xb29], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8b5
mov ecx, dword [esi]
push esi
jmp 0x42b8b0
push 0x80070057
call fcn.00404410
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 0xb29], 1
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b898
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b8b5
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0xb29]
mov eax, dword [ebp - 0xb48]
test eax, eax
je 0x42b8d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb48], 0
mov eax, dword [ebp - 0xb4c]
test eax, eax
je 0x42b8f1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb4c], 0
mov esi, dword [ebp - 0xb54]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42b915
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.004a8b24
mov esp, ebp
pop ebp
ret 8