Function at 0x44cf90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496e28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4bf434]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push dword [ebp + 8]
xor bl, bl
mov byte [ebp - 0xd], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44d1e2
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push str.InstallRoot
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d1d9
mov esi, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
test esi, esi
je 0x44d080
cmp esi, 0x7fffffff
ja 0x44d1f8
cmp esi, 0x1000
jb 0x44d05a
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x44d1fd
push eax
call fcn.00488004
add esp, 4
test eax, eax
je 0x44d1c6
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x44d065
push esi
call fcn.00488004
add esp, 4
mov edi, eax
push esi
push 0
lea ebx, [edi + esi]
mov dword [ebp - 0x30], edi
push edi
mov dword [ebp - 0x28], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push edi
push 0
push 0
push str.InstallRoot
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d1a6
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shr esi, 1
dec esi
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
cmp esi, eax
ja 0x44d0e8
mov dword [ebp + 0xc], ecx
mov edx, ecx
cmp eax, 8
jb 0x44d0c8
mov edx, dword [ecx]
mov dword [ebp + 0xc], edx
mov dword [ecx + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x1c]
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x44d1a2
cmp esi, 0x7ffffffe
ja 0x44d202
mov edx, esi
or edx, 7
cmp edx, 0x7ffffffe
jbe 0x44d108
mov edx, 0x7ffffffe
jmp 0x44d12c
shr eax, 1
mov dword [ebp - 0x18], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
jbe 0x44d121
mov edx, 0x7ffffffe
jmp 0x44d12c
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
cmp edx, eax
cmovb edx, eax
lea eax, [edx + 1]
mov dword [ebp - 0x18], edx
push eax
call fcn.00401d20
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov dword [eax + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x1c]
mov dword [eax + 0x14], ecx
push edx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x24]
xor eax, eax
add esp, 0xc
mov word [esi + ecx], ax
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 0xc]
cmp eax, 8
jb 0x44d1a0
lea ecx, [eax*2 + 2]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x44d18f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d1c6
mov eax, edx
push ecx
push eax
call fcn.00488034
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [esi], eax
jmp 0x44d1a2
mov dword [esi], ecx
mov byte [ebp - 0xd], 1
test edi, edi
je 0x44d1d6
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x44d1cc
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44d1cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push edi
call fcn.00488034
add esp, 8
mov bl, byte [ebp - 0xd]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00401d10
call fcn.00401c80
call fcn.00401d00
int3