Function at 0x4d7cd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x4d7cd0
push 0xffffffffffffffff
push 0x786dc9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, ecx
push 0x15
xor ebx, ebx
mov esi, 0xf
push str.RegisterServer_called
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea eax, [esp + 0x54]
push eax
mov ecx, 0x868edc
mov dword [esp + 0xb8], ebx
call fcn.0054c860
mov edi, 0x10
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d7d6e
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00564155
add esp, 4
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
mov dword [esp + 0x18], eax
jge 0x4d7dd0
push 0x1c
push str.Failed_to_call_CoInitialize_
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea edx, [esp + 0x54]
push edx
mov ecx, 0x868edc
mov dword [esp + 0xb8], 1
call fcn.0054c860
cmp dword [esp + 0x68], edi
jb 0x4d7dc7
mov eax, dword [esp + 0x54]
push eax
call fcn.00564155
add esp, 4
mov eax, dword [esp + 0x18]
jmp 0x4d86d3
mov byte [esp + 0x17], bl
cmp dword [esp + 0xc8], ebx
jne 0x4d7e4c
push 0x15
push str.Uninstalling_old_data
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0x868edc
mov dword [esp + 0xb8], 2
call fcn.0054c860
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d7e32
mov edx, dword [esp + 0x54]
push edx
call fcn.00564155
add esp, 4
cmp dword [esp + 0xbc], ebx
lea eax, [esp + 0x17]
setne cl
movzx edx, cl
push eax
push edx
mov ecx, ebp
call fcn.00406b04
mov eax, dword [ebp]
mov ecx, dword [eax + 0x20]
push ebx
push 1
push 0x64
push ebp
call ecx
cmp eax, ebx
jge 0x4d7edc
push eax
lea edx, [esp + 0x8c]
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x5c]
push str.Failed_to_update_registry_data_with_error_
push eax
mov dword [esp + 0xc4], 3
call fcn.00404cfa
add esp, 0x14
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 4
call fcn.0054c860
cmp dword [esp + 0x68], edi
jb 0x4d7eb2
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00564155
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0xa0], edi
jb 0x4d7f31
mov edx, dword [esp + 0x8c]
push edx
jmp 0x4d7f29
push 0x22
push str.Registry_data_updated_successfully
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea eax, [esp + 0x54]
push eax
mov ecx, 0x868edc
mov dword [esp + 0xb8], 5
call fcn.0054c860
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d7f31
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00564155
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x4d84b4
cmp dword [esp + 0xc8], ebx
jne 0x4d84b4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push 0x20006
push 0x7b9770
push accept
lea ecx, [esp + 0x30]
mov dword [esp + 0xbc], 6
call fcn.00402185
mov esi, eax
cmp esi, ebx
je 0x4d7fd6
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x40]
push str.Failed_to_open_HKEY_CLASSES_ROOT_with_error:
push eax
mov byte [esp + 0xc4], 7
call fcn.00404cfa
add esp, 0x14
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 8
call fcn.0054c860
lea ecx, [esp + 0x34]
call fcn.00402ed7
lea ecx, [esp + 0x6c]
call fcn.00402ed7
lea ecx, [esp + 0x24]
call fcn.00406226
mov eax, esi
jmp 0x4d86d3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x24]
push 0x20006
push str.9DC8FA51_B596_4f77_802C_5B295919C205
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0xbc], 9
call fcn.00402185
mov esi, eax
cmp esi, ebx
je 0x4d806a
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x40]
push str.Failed_to_open_keyAppID_with_error:
push eax
mov byte [esp + 0xc4], 0xa
call fcn.00404cfa
add esp, 0x14
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0xb
call fcn.0054c860
lea ecx, [esp + 0x34]
call fcn.00402ed7
lea ecx, [esp + 0x6c]
call fcn.00402ed7
lea ecx, [esp + 0x2c]
call fcn.00406226
lea ecx, [esp + 0x24]
call fcn.00406226
mov eax, esi
jmp 0x4d86d3
mov esi, dword [esp + 0x2c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LocalService
push esi
call ebp
push str.KomodiaParameters1
push esi
call ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004050b0
test eax, eax
je 0x4d80ac
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push esi
call fcn.00401ad7
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [esp + 0x88]
push edx
call fcn.004024eb
mov ecx, eax
call fcn.004041d3
mov eax, dword [esp + 0x9c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esp + 0xb0], 0xc
cmp eax, ebx
jne 0x4d813f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004083af
push eax
lea ecx, [esp + 0x40]
push str.Failed_getting_installing_user_name_with_error:
push ecx
mov byte [esp + 0xc4], 0xd
call fcn.00404cfa
add esp, 0x14
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0xe
call fcn.0054c860
lea ecx, [esp + 0x34]
call fcn.00402ed7
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0xc
call fcn.00402ed7
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4d81ff
cmp dword [esp + 0xa0], 8
mov ecx, dword [esp + 0x8c]
jae 0x4d8157
lea ecx, [esp + 0x8c]
lea edx, [eax + eax + 2]
push edx
push ecx
lea eax, [esp + 0x58]
push eax
call fcn.004021f3
add esp, 0xc
mov byte [esp + 0xb0], 0xf
cmp dword [esp + 0x64], ebx
je 0x4d81e8
cmp dword [esp + 0x68], edi
mov edi, dword [esp + 0x54]
jae 0x4d8186
lea edi, [esp + 0x54]
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
jne 0x4d819b
push 0x80004005
call fcn.004025ae
push edi
call ebp
inc eax
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push str.InstallingUser
push esi
call edi
cmp eax, ebx
je 0x4d81ee
push str.Failed_to_set_InstallingUser_
lea ecx, [esp + 0x70]
call fcn.004062df
push 1
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x10
call fcn.0054c860
lea ecx, [esp + 0x6c]
call fcn.00402ed7
jmp 0x4d81ee
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x50]
mov byte [esp + 0xb0], 0xc
call fcn.00402ed7
cmp dword [esp + 0xbc], ebx
je 0x4d847f
push 0x7b9328
call ebp
inc eax
push eax
push 0x7b9328
push 1
push ebx
push str.LocalService
push esi
call edi
cmp eax, ebx
je 0x4d8261
push str.Failed_to_set_SERVICE_NAME_
lea ecx, [esp + 0x70]
call fcn.004062df
push 1
lea edx, [esp + 0x70]
push edx
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x11
call fcn.0054c860
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0xc
call fcn.00402ed7
push str._Service
call ebp
inc eax
push eax
push str._Service
push 1
push ebx
push str.ServiceParameters
push esi
call edi
cmp eax, ebx
je 0x4d82b6
push str.Failed_to_set__Service_
lea ecx, [esp + 0x70]
call fcn.004062df
push 1
lea eax, [esp + 0x70]
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x12
call fcn.0054c860
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0xc
call fcn.00402ed7
mov ecx, dword [esp + 0xc4]
push str.KomodiaParameters1
push ecx
lea ecx, [esp + 0x34]
call fcn.00405155
test eax, eax
je 0x4d8308
push str.Failed_to_set_bNoStop_
lea ecx, [esp + 0x70]
call fcn.004062df
push 1
lea edx, [esp + 0x70]
push edx
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x13
call fcn.0054c860
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0xc
call fcn.00402ed7
cmp dword [esp + 0xc0], ebx
setne al
movzx ecx, al
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004090a7
lea ecx, [esp + 0x6c]
test eax, eax
jne 0x4d8358
push str.Failed_calling_Install_
call fcn.004062df
push 1
lea edx, [esp + 0x70]
push edx
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x14
call fcn.0054c860
lea ecx, [esp + 0x6c]
call fcn.00402ed7
jmp 0x4d847f
push str.Install_called_successfully_
call fcn.004062df
push ebx
lea eax, [esp + 0x70]
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x15
call fcn.0054c860
lea ecx, [esp + 0x6c]
call fcn.00402ed7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 0x20006
push str.SYSTEMCurrentControlSetControlSafeBootNetwork
push reloc.WS2_32.dll_bind
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0x16
call fcn.00402185
cmp eax, ebx
je 0x4d83df
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004083af
push eax
lea edx, [esp + 0x40]
push str.Failed_to_open_SafeBoot_with_error:
push edx
mov byte [esp + 0xc4], 0x17
call fcn.00404cfa
add esp, 0x14
mov byte [esp + 0xb0], 0x18
jmp 0x4d8457
cmp dword [esp + 0xcc], ebx
jne 0x4d8476
mov eax, dword [esp + 0x18]
push ebx
push ebx
push 0xf003f
push ebx
push ebx
push 0x7b9328
push eax
lea ecx, [esp + 0x34]
call fcn.00405790
push str.service
call ebp
mov ecx, dword [esp + 0x18]
inc eax
push eax
push str.service
push 1
push ebx
push 0x7b32cb
push ecx
call edi
cmp eax, ebx
je 0x4d8476
push eax
lea edx, [esp + 0x70]
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x40]
push str.Failed_to_set_SafeBoot_value_with_error:
push eax
mov byte [esp + 0xc4], 0x1b
call fcn.00404cfa
add esp, 0x14
mov byte [esp + 0xb0], 0x1c
push 1
push eax
mov ecx, 0x868edc
call fcn.0054c860
lea ecx, [esp + 0x34]
call fcn.00402ed7
lea ecx, [esp + 0x6c]
call fcn.00402ed7
lea ecx, [esp + 0x18]
call fcn.00406226
lea ecx, [esp + 0x88]
call fcn.00403a26
lea ecx, [esp + 0x2c]
call fcn.00406226
lea ecx, [esp + 0x24]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00406226
mov ebp, dword [esp + 0x20]
mov edi, 0x10
lea esi, [edi - 1]
mov ecx, dword [esp + 0xb8]
push ebx
push ecx
mov ecx, ebp
call fcn.00402b26
mov ebp, eax
cmp ebp, ebx
jge 0x4d8555
lea edx, [esp + 0x50]
push ebp
push edx
call fcn.004083af
push eax
lea eax, [esp + 0x94]
push str.Failed_to_call_RegisterServer_with_error_
push eax
mov dword [esp + 0xc4], 0x1d
call fcn.00404cfa
add esp, 0x14
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x1e
call fcn.0054c860
cmp dword [esp + 0xa0], edi
jb 0x4d8528
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00564155
add esp, 4
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d85aa
mov edx, dword [esp + 0x54]
push edx
jmp 0x4d85a2
push 0x22
push str.RegisterServer_called_successfully
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea eax, [esp + 0x54]
push eax
mov ecx, 0x868edc
mov dword [esp + 0xb8], 0x1f
call fcn.0054c860
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d85aa
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00564155
add esp, 4
call fcn.004074d7
push eax
call fcn.0040806c
add esp, 4
test al, al
je 0x4d86cb
push 0x16
push str.Trying_to_set_category
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405920
push ebx
lea edx, [esp + 0x54]
push edx
mov ecx, 0x868edc
mov dword [esp + 0xb8], 0x20
call fcn.0054c860
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x68], edi
jb 0x4d8615
mov eax, dword [esp + 0x54]
push eax
call fcn.00564155
add esp, 4
lea ecx, [esp + 0x6c]
push 1
push ecx
call fcn.00404692
add esp, 8
mov dword [esp + 0xb0], 0x21
cmp dword [esp + 0x80], ebx
jne 0x4d8676
push str.Category_set
lea ecx, [esp + 0x8c]
call fcn.004062df
push ebx
lea edx, [esp + 0x8c]
push edx
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x22
call fcn.0054c860
cmp dword [esp + 0xa0], edi
jb 0x4d86b5
mov eax, dword [esp + 0x8c]
jmp 0x4d86ac
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x38]
push str.Error_setting_category:
push edx
call fcn.00404cfa
add esp, 0xc
push 1
push eax
mov ecx, 0x868edc
mov byte [esp + 0xb8], 0x23
call fcn.0054c860
cmp dword [esp + 0x4c], edi
jb 0x4d86b5
mov eax, dword [esp + 0x38]
push eax
call fcn.00564155
add esp, 4
cmp dword [esp + 0x84], edi
jb 0x4d86cb
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00564155
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00564b24
add esp, 0xa0
ret 0x18