Function at 0x4dd580
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x623986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00445570
mov ecx, esi
call fcn.004e46f0
mov ecx, esi
call fcn.004d8230
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x14], 4
test di, di
je 0x4dd65c
mov ecx, dword [0x6d2354]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
mov ebp, 1
push str.LIDwa
push ecx
mov dword [esp + 0x28], ebp
call ebx
push 0
push edi
mov ecx, esi
call fcn.004d9130
mov ecx, dword [0x6d2354]
lea eax, [esp + 0x18]
push 4
push eax
mov edx, edi
push 4
push 0
and edx, 0xffff
push str.LanguageID
push ecx
mov dword [esp + 0x30], edx
call ebx
cmp di, word [esi + 0x38]
je 0x4dd844
mov edx, dword [esp + 0xcc]
mov word [esi + 0x30], di
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0x2c], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4dd652
push edx
lea ecx, [esi + 0x1c]
call fcn.00603bc5
call fcn.00450360
jmp 0x4dd844
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0xfde9
jne 0x4dd67a
mov eax, dword [0x6d2334]
mov dword [esp + 0x18], 1
test eax, eax
jne 0x4dd682
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
and eax, 0xffff
mov ecx, esi
push eax
call fcn.004dd540
mov ecx, dword [0x6d2354]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.LanguageID
push ecx
call ebp
test eax, eax
jne 0x4dd75a
mov eax, dword [esp + 0x10]
xor edx, edx
cmp bx, ax
mov dword [esp + 0x1c], eax
sete dl
cmp ax, 9
mov edi, edx
je 0x4dd70a
test edi, edi
jne 0x4dd70f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push edx
mov edx, dword [0x6d2354]
push str.SysLngID
push edx
mov dword [esp + 0x2c], 4
call ebp
test eax, eax
jne 0x4dd70f
cmp bx, word [esp + 0x10]
jne 0x4dd70f
mov edi, 1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4dd85f
test edi, edi
jne 0x4dd85f
mov edx, dword [0x6d2354]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
push edi
push str.LIDwa2
push edx
mov dword [esp + 0x2c], 4
call ebp
test eax, eax
je 0x4dd75a
mov eax, dword [0x6d2354]
push str.LIDwa
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0
push ebx
mov ecx, esi
call fcn.004d9130
mov eax, dword [0x6d2340]
test eax, eax
jne 0x4dd844
cmp word [esi + 0x38], 9
je 0x4dd77f
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x4dd795
cmp bx, 9
je 0x4dd844
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dd844
mov ecx, dword [0x6d2354]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.LIDwa
push ecx
mov dword [esp + 0x2c], 4
call ebp
test eax, eax
je 0x4dd844
push 0
lea ecx, [esp + 0x24]
call fcn.0051c720
lea ecx, [esp + 0x20]
mov dword [esp + 0xc0], 0
call fcn.005ffa36
mov eax, dword [0x6d2354]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
mov edi, 1
push str.LIDwa
push eax
mov dword [esp + 0x28], edi
call esi
mov edx, dword [0x6d2354]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.LIDwa2
push edx
call esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc0], edi
call fcn.0060b5e3
lea ecx, [esp + 0x20]
mov dword [esp + 0xc0], 0xffffffff
call fcn.005ff677
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 8
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov ecx, esi
call fcn.004d9130
jmp 0x4dd844