Function at 0x411810
Capabilities:
Encode data using xor
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x63c00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
push str.Ransompod:_Set_Ransompod_Folder_Permission___Start
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
mov word [esp + 0x4c], 0x100
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0xc]
push eax
push 0x2011f
push 0
push str.SOFTWARERansompod
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4118a8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push str.Path_32
push dword [esp + 0x20]
call edi
mov eax, dword [esp + 0x10]
add eax, 2
push eax
call fcn.0045669c
mov esi, eax
add esp, 4
test esi, esi
jne 0x4118f9
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
add eax, 2
push eax
push 0
push esi
call fcn.0044f970
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0
push str.Path_32
push dword [esp + 0x20]
call edi
test eax, eax
je 0x41194f
push esi
call fcn.004533f0
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0xc], 0
test edx, edx
je 0x4119cd
cmp edx, 0x40
jb 0x4119c0
movaps xmm2, xmmword [0x636a50]
lea ecx, [esi + 0x20]
mov edi, edx
and edi, 0xffffffc0
nop
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add eax, 0x40
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x50]
pxor xmm0, xmm2
movups xmmword [ecx - 0x50], xmm0
movups xmm0, xmmword [ecx - 0x40]
pxor xmm0, xmm2
movups xmmword [ecx - 0x40], xmm0
movups xmm0, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edi
jb 0x411980
cmp eax, edx
jae 0x4119cd
xor byte [eax + esi], 0xdf
inc eax
cmp eax, edx
jb 0x4119c4
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
test ebx, ebx
jne 0x411a05
push esi
call fcn.004533f0
add esp, 4
lea eax, [ebx + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
lea eax, [ebx*2 + 4]
push eax
call fcn.0045669c
mov edi, eax
add esp, 4
test edi, edi
jne 0x411a39
push esi
call fcn.004533f0
add esp, 4
lea eax, [edi + 2]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
lea eax, [ebx*2 + 4]
push eax
push 0
push edi
call fcn.0044f970
add esp, 0xc
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x411a88
push edi
call fcn.004533f0
push esi
call fcn.004533f0
add esp, 8
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push esi
call fcn.004533f0
add esp, 4
lea eax, [esp + 0x14]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x411ad0
push edi
call fcn.004533f0
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x411b20
push edi
call fcn.004533f0
add esp, 4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x120116
push eax
push 1
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 5
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x411bae
push edi
call fcn.004533f0
add esp, 4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push 0
push dword [esp + 0x20]
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push edi
test eax, eax
je 0x411c03
call fcn.004533f0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 4
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [esp + 0x1c]
call esi
mov eax, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
call fcn.004533f0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
add esp, 4
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [esp + 0x1c]
call esi
push str.Ransompod:_Set_Ransompod_Folder_Permission___Exit
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044daed
mov esp, ebp
pop ebp
ret