Function at 0x4407d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x340
mov eax, dword [0x4b7304]
push ebx
push ebp
push esi
push edi
push eax
lea eax, [esp + 0x2c]
mov ecx, 0x4b7300
push eax
call fcn.0043e260
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, 0x4b7300
call fcn.0042a290
mov eax, dword [0x46b21c]
mov ecx, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
xor ebp, ebp
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x440866
mov edx, ecx
shr edx, 0x10
jne 0x44082d
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x18]
push eax
call fcn.00402fe0
jmp 0x440866
push str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebp
je 0x440866
push esi
lea ecx, [esp + 0x1c]
call fcn.00401ce0
test eax, eax
je 0x440866
mov edi, dword [esp + 0x18]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ebp
push eax
push 0x20019
push ebp
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebp
call esi
test eax, eax
jne 0x4408a6
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x44089e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebp
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebp
call esi
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push ebp
lea ecx, [esp + 0x158]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x48], 0x207
mov dword [esp + 0x50], 0x103
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x440a94
mov eax, dword [0x46b21c]
lea ecx, [esp + 0x44]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x440977
lea edx, [esp + 0x44]
shr edx, 0x10
jne 0x44093f
xor eax, eax
lea ecx, [esp + 0x44]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00402fe0
jmp 0x440977
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebp
je 0x440977
push esi
lea ecx, [esp + 0x18]
call fcn.00401ce0
test eax, eax
je 0x440977
mov edi, dword [esp + 0x14]
lea ecx, [esi + esi]
mov eax, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x46b21c]
lea edx, [esp + 0x148]
test edx, edx
mov dword [esp + 0x10], ecx
je 0x4409ee
lea eax, [esp + 0x148]
shr eax, 0x10
jne 0x4409b0
xor ecx, ecx
lea edx, [esp + 0x148]
mov cx, dx
push ecx
lea ecx, [esp + 0x14]
call fcn.00402fe0
jmp 0x4409ee
lea eax, [esp + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebp
je 0x4409ee
push esi
lea ecx, [esp + 0x14]
call fcn.00401ce0
test eax, eax
je 0x4409ee
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x148]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x46b21c]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.0042a340
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4b7300
call fcn.0042a190
mov esi, dword [eax]
lea ecx, [esp + 0x34]
call fcn.0042a130
lea ecx, [esp + 0x24]
call fcn.00401e80
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
add esi, 0x10
cmp eax, ecx
je 0x440a7c
cmp dword [eax - 0xc], ebp
jge 0x440a4e
mov edx, dword [0x46b220]
add eax, 0xfffffff4
cmp eax, edx
jne 0x440a53
cmp dword [ecx - 0xc], ebp
jge 0x440a61
push ecx
mov ecx, dword [ecx - 8]
push ecx
mov ecx, esi
call fcn.004027f0
jmp 0x440a7c
mov ecx, esi
call fcn.00402690
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x10]
call fcn.00401e80
lea ecx, [esp + 0x14]
call fcn.00401e80
inc ebx
jmp 0x4408cb
lea ecx, [esp + 0x1c]
call fcn.00404330
lea ecx, [esp + 0x18]
call fcn.00401e80
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x340
ret