Function at 0x4ee3d0
Capabilities:
Delete registry value
Get common file path
Set registry value

Disassembly:
sub esp, 0x724
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x720], eax
push ebp
mov ebp, dword [esp + 0x734]
push esi
mov esi, dword [esp + 0x730]
push edi
mov edi, dword [esp + 0x738]
push 0x103
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.005dfd60
push 0x207
lea ecx, [esp + 0x535]
push 0
push ecx
mov byte [esp + 0x53c], 0
call fcn.005dfd60
add esp, 0x18
test esi, esi
je 0x4ee5d5
push 0x60c810
push esi
call fcn.004dd620
add esp, 8
test eax, eax
je 0x4ee461
push 0x60cf28
push esi
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x4ee5d5
test edi, edi
je 0x4ee47b
push 0x648d90
push edi
call fcn.004dd620
add esp, 8
test eax, eax
je 0x4ee5d5
cmp dword [0x74ac8c], 0
jne 0x4ee774
push 0x103
lea edx, [esp + 0x21d]
push 0
push edx
mov byte [esp + 0x224], 0
call fcn.005dfd60
push 0x207
lea eax, [esp + 0x32d]
push 0
push eax
mov byte [esp + 0x334], 0
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x131]
push 0
push ecx
mov byte [esp + 0x138], 0
call fcn.005dfd60
add esp, 0x24
push 0x208
lea edx, [esp + 0x320]
push edx
push 0
mov dword [0x74ac8c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x324]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4ee533
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x324]
push edx
call fcn.004ec3a0
lea eax, [esp + 0x120]
push 0
push eax
call fcn.004e8c10
lea ecx, [esp + 0x128]
push ecx
push 0x648d84
push 0x74ac90
call fcn.005dfb23
push 1
push 0
push 0
push 0
push 0
push 0x74ac90
call fcn.004e8950
add esp, 0x38
test eax, eax
jne 0x4ee5ce
call fcn.004e8440
push 0x74ac90
lea edx, [esp + 0x528]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x524]
push eax
push ebp
push edi
push esi
call fcn.004e0cb0
add esp, 0x10
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x724
ret
mov byte [0x74ac90], 0
push ebx
push ebp
push edi
push esi
call fcn.004e0d60
push 0
push 0
push 0
call fcn.004e0d60
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x18
cmp byte [0x74b4a8], 0
jne 0x4ee667
push 0x104
push 0x74b4a8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
push 0x74b3a0
call fcn.004ebf90
push 0x74b4a8
call fcn.004e2520
push 0x74b3a0
call fcn.004e2520
push 0x74b4a8
push 0x74b3a0
call fcn.004dd620
add esp, 0x18
test eax, eax
je 0x4ee667
push 0x74b3a0
mov dword [0x690600], 0
call fcn.004e24e0
add esp, 4
push 0x6157e0
push 0x74b3a0
call ebx
cmp dword [0x690600], 0
jne 0x4ee680
push 0x74b3a0
push ebp
push edi
push esi
call fcn.004e0cb0
add esp, 0x10
test esi, esi
je 0x4ee818
call fcn.004d8e50
test eax, eax
je 0x4ee818
push 0x60d9ec
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4ee818
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x66da34
lea ecx, [esp + 0x18]
push ecx
call ebx
push 0x6157e0
lea edx, [esp + 0x18]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4ee818
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004e1290
add esp, 4
push 0x66da34
lea eax, [esp + 0x18]
push eax
call ebx
push esi
lea ecx, [esp + 0x18]
push ecx
call ebx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4ee818
test edi, edi
jne 0x4ee7c4
test ebp, ebp
jne 0x4ee7e4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9480
jmp 0x4ee818
cmp byte [0x74ac90], 0
je 0x4ee5d5
call fcn.004e8440
push 0x74ac90
lea ecx, [esp + 0x528]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x524]
push edx
push ebp
push edi
push esi
call fcn.004e0cb0
add esp, 0x10
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x724
ret
test ebp, ebp
jne 0x4ee7e4
push edi
call fcn.004e1290
mov eax, dword [esp + 0x14]
add esp, 4
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4ee812
push edi
call fcn.004e1290
push ebp
call fcn.004e1290
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x730]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005dfbbe
add esp, 0x724
ret