Function at 0x4e2d60
Capabilities:
Set registry value

Disassembly:
mov ax, word [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esi + 0x3c], ax
mov dword [esi + 0x40], 0
call fcn.004d9060
movzx ecx, word [esi + 0x3c]
mov edx, 9
cmp dx, cx
je 0x4e2dad
xor eax, eax
cmp dword [esi + 0x6c], eax
jle 0x4e2dad
mov ebx, dword [esi + 0x68]
movzx edx, cx
lea ecx, [ebx + 0x10]
lea esp, [esp]
cmp dword [ecx], edx
je 0x4e2deb
inc eax
add ecx, 0x28
cmp eax, dword [esi + 0x6c]
jl 0x4e2da0
cmp dword [esp + 0x18], 0
je 0x4e2f84
movzx edx, word [esi + 0x3c]
mov ecx, dword [0x70f604]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.LanguageID
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, esi
call fcn.004dcaa0
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
mov dword [esi + 0x40], 1
mov eax, dword [esi + 0x18]
add edi, edi
cmp eax, dword [ebx + edi]
je 0x4e2e3c
push eax
call ebp
mov eax, dword [ebx + edi]
test eax, eax
je 0x4e2e25
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [ebx + edi]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 0x18], eax
cmp dword [ebx + edi], 0
je 0x4e2e3c
test eax, eax
jne 0x4e2e3c
push 0x8007000e
call fcn.00401090
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 4]
cmp eax, dword [ecx + edi + 0x14]
lea ebx, [ecx + edi + 0x14]
je 0x4e2e7c
push eax
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x4e2e66
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [ebx]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 4], eax
cmp dword [ebx], 0
je 0x4e2e7c
test eax, eax
jne 0x4e2e7c
push 0x8007000e
call fcn.00401090
mov eax, dword [esi + 0x68]
lea ebx, [eax + edi + 0x18]
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
je 0x4e2eba
push eax
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x4e2ea4
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 8], eax
cmp dword [ebx], 0
je 0x4e2eba
test eax, eax
jne 0x4e2eba
push 0x8007000e
call fcn.00401090
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0xc]
cmp eax, dword [edx + edi + 0x1c]
lea ebx, [edx + edi + 0x1c]
je 0x4e2efa
push eax
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x4e2ee4
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 0xc], eax
cmp dword [ebx], 0
je 0x4e2efa
test eax, eax
jne 0x4e2efa
push 0x8007000e
call fcn.00401090
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x10]
cmp eax, dword [ecx + edi + 0x20]
lea ebx, [ecx + edi + 0x20]
je 0x4e2f3a
push eax
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x4e2f24
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [ebx]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 0x10], eax
cmp dword [ebx], 0
je 0x4e2f3a
test eax, eax
jne 0x4e2f3a
push 0x8007000e
call fcn.00401090
mov eax, dword [esi + 0x68]
lea edi, [eax + edi + 0x24]
mov eax, dword [esi + 0x14]
cmp eax, dword [edi]
je 0x4e2dad
push eax
call ebp
mov eax, dword [edi]
test eax, eax
je 0x4e2f66
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 0x14], eax
cmp dword [edi], 0
je 0x4e2dad
test eax, eax
jne 0x4e2dad
push 0x8007000e
call fcn.00401090
cmp dword [esi + 0x40], 0
jne 0x4e2f93
mov edx, 9
mov word [esi + 0x3c], dx
mov ecx, esi
call fcn.004dcaa0
pop edi
pop esi
pop ebp
pop ebx
ret 8