Function at 0x440e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fb1d
mov eax, dword fs:[0]
push eax
mov eax, 0x2670
call fcn.0049ac50
mov eax, dword [0x589bb4]
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 - 0x2648], 0
mov dword [ebp - 0x2658], 1
mov dword [ebp - 0x2678], 0
mov dword [ebp - 0x2674], 0
mov dword [ebp - 0x2670], 0
lea eax, [ebp - 0x2640]
mov dword [ebp - 4], 0
push 1
push eax
call fcn.004338e0
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x440eda
mov esi, dword [esi]
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x441a05
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2668], eax
push esi
lea ecx, [ebp - 0x2668]
mov byte [ebp - 4], 2
call fcn.0040e140
test al, al
jne 0x440f3c
test esi, esi
jne 0x440f13
xor ecx, ecx
jmp 0x440f2f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440f20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2668]
call fcn.0040d780
mov edx, dword [ebp - 0x262c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x440f80
mov ecx, dword [ebp - 0x2640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x440f76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441a0f
push edx
push ecx
call fcn.0049a80e
add esp, 8
xor eax, eax
mov dword [ebp - 0x2630], 0
push 0x1000
push eax
mov word [ebp - 0x2640], ax
lea eax, [ebp - 0x1628]
push eax
mov dword [ebp - 0x262c], 7
call fcn.004d5e40
mov edi, dword [ebp - 0x2668]
lea eax, [ebp - 0x265c]
add esp, 0xc
mov dword [ebp - 0x265c], 0
push eax
push 0x20219
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4419c7
mov esi, dword [ebp - 0x265c]
lea eax, [ebp - 0x2644]
push eax
lea eax, [ebp - 0x1628]
mov dword [ebp - 0x2678], esi
push eax
lea eax, [ebp - 0x2654]
mov dword [ebp - 0x2674], 0x200
push eax
push 0
push 0x545970
push esi
mov dword [ebp - 0x2644], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44104d
mov eax, dword [ebp - 0x2654]
cmp eax, 1
je 0x44103b
cmp eax, 2
jne 0x44104d
cmp dword [ebp - 0x2644], 0
jne 0x44104d
xor eax, eax
mov word [ebp - 0x1628], ax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
mov ecx, dword [0x58e878]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x4410c9
push 0x5881a0
call ebx
cmp dword [0x58e878], 0
jne 0x4410b8
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2660], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4410a6
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x4410a8
xor ecx, ecx
mov byte [ebp - 4], 4
xchg dword [ebp - 0x2654], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push 0x104
push edx
lea edx, [ebp - 0x1628]
push edx
push ecx
call dword [eax]
mov dword [ebp - 0x264c], eax
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x441a14
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2644], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2644]
call fcn.0040e140
test al, al
jne 0x441149
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441127
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2644]
call fcn.0040d780
mov ecx, dword [0x58eef4]
mov byte [ebp - 4], 7
test ecx, ecx
jne 0x4411b0
push 0x589370
call ebx
cmp dword [0x58eef4], 0
jne 0x44119f
push 0x98
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2660], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x44118d
mov ecx, eax
call fcn.00437c20
mov ecx, eax
jmp 0x44118f
xor ecx, ecx
mov byte [ebp - 4], 7
xchg dword [ebp - 0x2654], eax
mov dword [0x58eef4], ecx
push 0x589370
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58eef4]
lea eax, [ebp - 0x2644]
push eax
call fcn.0043b350
mov edx, dword [ebp - 0x2644]
or ebx, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4411e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x264c], 0
jne 0x441216
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x441202
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4419e3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4419e3
push 0x1000
lea eax, [ebp - 0x2628]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
mov dword [ebp - 0x2644], 0x2000
lea eax, [ebp - 0x2644]
push eax
lea eax, [ebp - 0x2628]
push eax
lea eax, [ebp - 0x2654]
push eax
push 0
push str.VendorID
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44127f
mov eax, dword [ebp - 0x2654]
cmp eax, 1
je 0x44126d
cmp eax, 2
jne 0x44127f
cmp dword [ebp - 0x2644], 0
jne 0x44127f
xor eax, eax
mov word [ebp - 0x2628], ax
mov ecx, dword [0x58eef4]
test ecx, ecx
jne 0x4412e7
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x589370
call eax
cmp dword [0x58eef4], 0
jne 0x4412d6
push 0x98
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2660], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4412c4
mov ecx, eax
call fcn.00437c20
mov ecx, eax
jmp 0x4412c6
xor ecx, ecx
mov byte [ebp - 4], 4
xchg dword [ebp - 0x2660], eax
mov dword [0x58eef4], ecx
push 0x589370
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58eef4]
call fcn.00438620
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040c3d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x267c], esi
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2654], eax
test ecx, ecx
je 0x441322
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x441338
call fcn.0040cb40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x441a1e
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x2648], 1
push esi
push 0x11
mov dword [ebp - 0x2650], eax
lea eax, [ebp - 0x2650]
push str.ex_ary_new_pid_
push eax
call fcn.00442510
add esp, 0x14
mov esi, dword [ebp - 0x2650]
mov byte [ebp - 4], 0xc
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x441386
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x44139c
call fcn.0040cb40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x441a28
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x11
push str.ex_ary_old_pid_
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x2648], 3
mov dword [ebp - 0x2644], eax
lea eax, [ebp - 0x2644]
push esi
push eax
call fcn.00442510
lea eax, [ebp - 0x2628]
push eax
lea eax, [ebp - 0x2644]
push eax
lea eax, [ebp - 0x266c]
push eax
call fcn.0040bb20
add esp, 0x20
mov dword [ebp - 0x2648], 1
mov edx, dword [ebp - 0x2644]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea edx, [esi - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44142e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x441a32
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2648], eax
push str.turn_pid
lea ecx, [ebp - 0x2648]
mov byte [ebp - 4], 0x10
call fcn.0040e140
test al, al
jne 0x441475
push 8
push str.turn_pid
lea ecx, [ebp - 0x2648]
call fcn.0040d780
mov byte [ebp - 4], 0x11
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x441a3c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2644], eax
push str.instnew
lea ecx, [ebp - 0x2644]
mov byte [ebp - 4], 0x12
call fcn.0040e140
test al, al
jne 0x4414c0
push 7
push str.instnew
lea ecx, [ebp - 0x2644]
call fcn.0040d780
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x264c], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x58e878]
mov eax, dword [ebp - 0x266c]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x2650], eax
test ecx, ecx
jne 0x441550
push 0x5881a0
call esi
cmp dword [0x58e878], 0
jne 0x441539
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2664], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x441527
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x441529
xor ecx, ecx
mov byte [ebp - 4], 0x14
xchg dword [ebp - 0x264c], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
mov eax, dword [ebp - 0x2650]
push 0
push eax
lea eax, [ebp - 0x2648]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x2644]
push eax
call fcn.0042ba20
mov edx, dword [ebp - 0x2644]
mov eax, ebx
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44158b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2648]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4415ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004d5e40
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d5e40
mov ecx, dword [0x58e878]
add esp, 0xc
test ecx, ecx
jne 0x44164f
push 0x5881a0
call esi
cmp dword [0x58e878], 0
jne 0x44163e
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2664], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x44162c
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x44162e
xor ecx, ecx
mov byte [ebp - 4], 0xf
xchg dword [ebp - 0x264c], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
mov eax, dword [ecx]
lea edx, [ebp - 0x420]
push 0x104
push edx
lea edx, [ebp - 0x628]
push edx
push ecx
call dword [eax]
lea eax, [ebp - 0x2644]
mov dword [ebp - 0x2650], 0
push eax
lea eax, [ebp - 0x2650]
mov dword [ebp - 0x2644], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2648], 0
push eax
mov dword [ebp - 0x264c], 0
call fcn.00445ef0
lea eax, [ebp - 0x264c]
push eax
lea eax, [ebp - 0x2648]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00445ef0
mov eax, dword [ebp - 0x2650]
add esp, 0x18
sub eax, dword [ebp - 0x2648]
jne 0x4416e0
mov eax, dword [ebp - 0x2644]
sub eax, dword [ebp - 0x264c]
test eax, eax
jg 0x441756
mov edx, dword [ebp - 0x266c]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441705
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2654]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x441723
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44173c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x265c]
test eax, eax
je 0x4419e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4419e3
mov ecx, dword [0x58eef4]
test ecx, ecx
jne 0x4417b9
push 0x589370
call esi
cmp dword [0x58eef4], 0
jne 0x4417a8
push 0x98
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2664], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x441796
mov ecx, eax
call fcn.00437c20
mov ecx, eax
jmp 0x441798
xor ecx, ecx
mov byte [ebp - 4], 0xf
xchg dword [ebp - 0x264c], eax
mov dword [0x58eef4], ecx
push 0x589370
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58eef4]
call fcn.0043a030
mov eax, dword [eax]
mov dword [ebp - 0x2650], eax
call fcn.0040cb40
mov ecx, eax
test ecx, ecx
je 0x441a46
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264c], eax
push dword [ebp - 0x2650]
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x264c]
push str.ver__s__s__d
push eax
call fcn.0040aeb0
add esp, 0x14
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x2664], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x58e878]
mov byte [ebp - 4], 0x19
test ecx, ecx
jne 0x441887
push 0x5881a0
call esi
cmp dword [0x58e878], 0
jne 0x441876
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2648], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x441864
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x441866
xor ecx, ecx
mov byte [ebp - 4], 0x19
xchg dword [ebp - 0x2648], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
mov esi, dword [ebp - 0x264c]
push 0
push 0
push esi
mov byte [ebp - 4], 0x18
call fcn.0042b770
cmp dword [ebp - 0x2650], 0
je 0x441941
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x2664], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x58e878]
mov byte [ebp - 4], 0x1b
test ecx, ecx
jne 0x441925
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5881a0
call eax
cmp dword [0x58e878], 0
jne 0x441914
push 0x34
call fcn.0049ad99
add esp, 4
mov dword [ebp - 0x2658], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x441902
mov ecx, eax
call fcn.004293b0
mov ecx, eax
jmp 0x441904
xor ecx, ecx
mov byte [ebp - 4], 0x1b
xchg dword [ebp - 0x2658], eax
mov dword [0x58e878], ecx
push 0x5881a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x58e878]
push 0
push 0
push str.install_file_fail
mov byte [ebp - 4], 0x18
call fcn.0042b770
mov dword [ebp - 0x2658], 0
mov byte [ebp - 4], 0xf
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44195c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x266c]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44197d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2654]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44199b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4419b4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x265c]
test eax, eax
je 0x4419e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4419e3
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4419e3
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2658]
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.0049a7f8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ab80
call fcn.004f2bd6
push 0x80004005
call fcn.0040ab80
push 0x80004005
call fcn.0040ab80
push 0x80004005
call fcn.0040ab80
push 0x80004005
call fcn.0040ab80
push 0x80004005
call fcn.0040ab80
push 0x80004005
call fcn.0040ab80
int3