Function at 0x4381c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x52b31e
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x8b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x8cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8dc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x44], 2
mov eax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts_
je 0x43822e
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionFonts_
lea edx, [esp + 0x1c]
push edx
push 9
xor ebp, ebp
push ebp
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43844d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push ebp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4dc]
push ecx
push ebp
mov edi, 0x3ff
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x438442
cmp dword [esp + 0x24], 1
jne 0x4383fb
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 1]
cmp eax, 0x3fe
ja 0x4383fb
mov eax, dword [esp + 0x14]
lea edx, [eax - 1]
cmp edx, 0x3fe
ja 0x4383fb
mov byte [esp + eax + 0xc8], 0
lea eax, [esp + 0xc8]
mov byte [esp + ecx + 0x4c8], 0
lea edx, [eax + 1]
jmp 0x4382e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4382e0
sub eax, edx
lea esi, [esp + eax + 0xc4]
push str..ttf
push esi
call fcn.0052959d
add esp, 8
test eax, eax
je 0x438318
push str..ttc
push esi
call fcn.0052959d
add esp, 8
test eax, eax
jne 0x4383fb
push 8
call fcn.00511699
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x8d4], ebp
cmp eax, ebp
je 0x438344
lea ecx, [esp + 0xc8]
push ecx
mov ecx, eax
call fcn.004a1c90
mov ebx, eax
jmp 0x438346
xor ebx, ebx
cmp dword [esp + 0x14], 3
mov dword [esp + 0x8d4], 0xffffffff
jb 0x43836c
cmp byte [esp + 0xc9], 0x3a
jne 0x43836c
cmp byte [esp + 0xca], 0x5c
je 0x438383
push 0x5c
push ebp
mov ecx, ebx
call fcn.004a20b0
mov edx, dword [esp + 0x28]
push edx
push ebp
mov ecx, ebx
call fcn.004a2180
cmp byte [esp + 0x4c8], 0
lea edi, [esp + 0x4c8]
je 0x4383e2
push 0x544554
push edi
call fcn.00513c30
mov esi, eax
add esp, 8
test esi, esi
je 0x4383b0
mov byte [esi], 0
add esi, 3
jmp 0x4383c1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4383b5
sub eax, edx
lea esi, [eax + edi]
mov eax, dword [ebx + 4]
push eax
push ebp
push edi
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.00433c20
mov ecx, dword [edi]
push eax
call fcn.004a3220
inc ebp
cmp byte [esi], 0
mov edi, esi
jne 0x438394
test ebx, ebx
je 0x4383f6
mov ecx, ebx
call fcn.004a1da0
push ebx
call fcn.0051163f
add esp, 4
mov edi, 0x3ff
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0x2c]
push ecx
xor ebp, ebp
push ebp
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x4dc]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x438291
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x8cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8b4]
xor ecx, esp
call fcn.00511afd
add esp, 0x8c4
ret 4