Function at 0x421940
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x596e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x6131b0]
mov dword [esp + 0x14], eax
xor edi, edi
push str.software
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edi
call fcn.00575c43
push 0x5fcd80
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x40], 1
call fcn.00575e6a
mov edx, dword [esi + 0x7c]
mov byte [esp + 0x34], 2
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00575e6a
push 0x5fcd80
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x40], 3
call fcn.00575e6a
mov edx, dword [esi + 0x90]
mov byte [esp + 0x34], 4
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00575e6a
mov eax, dword [eax]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push edi
push eax
push SysReAllocStringLen
call ebp
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.00575bd5
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.00575bd5
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00575bd5
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 1
call fcn.00575bd5
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0
call fcn.00575bd5
test bl, bl
je 0x421a7e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push str.Language
lea eax, [esp + 0x30]
push 0x5fe268
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0058f9a6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.00575d0e
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0
call fcn.00575bd5
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0057594a
lea ebx, [esi + 0xc4]
mov ecx, ebx
call fcn.004226e0
mov ecx, eax
call fcn.00421bb0
mov edi, eax
test edi, edi
jne 0x421b87
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.Software_aheadShared
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x421b5a
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
push eax
mov eax, dword [esp + 0x20]
push str.Language
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421b4b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00570bbc
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x1c]
mov ebp, eax
push edx
lea eax, [esp + 0x2c]
push ebp
push eax
push edi
push str.Language
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421b42
mov edx, dword [esp + 0x3c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
call fcn.00575c43
mov ecx, ebx
call fcn.004226e0
mov ecx, eax
call fcn.00421bb0
mov edi, eax
push ebp
call fcn.00570be5
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x421b87
lea ecx, [esp + 0x3c]
push ecx
call fcn.00524e77
add esp, 4
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.00421fc0
mov edi, eax
test edi, edi
jne 0x421b87
push 0x619530
mov ecx, esi
call fcn.00421fc0
mov edi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4