Function at 0x4220f0
Capabilities:
Copy file
Create service
Delete file
Delete service
Manipulate safe mode programs
Modify service
Persist via windows service

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x48c0ee
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4b77c0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
jne 0x42215a
call fcn.004378f0
test eax, eax
je 0x42215a
mov eax, dword [ebp + 0x12c]
push eax
call fcn.0041f7c0
add esp, 4
jmp 0x42244e
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x422190
mov dword [ebp - 0x44], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4abaa8
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x40], eax
call fcn.0046b8cf
lea edx, [ebp]
push str.TrueCrypt.exe
push edx
call fcn.0043bf00
add esp, 8
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x12c], ebx
je 0x42237b
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004220f0
mov dword [ebp - 4], ebx
jmp 0x4221d4
push 0x104
lea eax, [ebp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x422207
mov dword [ebp - 0x2c], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4abaa8
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x28], eax
call fcn.0046b8cf
mov eax, dword [ebp + 4]
mov ebx, 0x10
cmp dword [ebp + 0x18], ebx
jae 0x422217
lea eax, [ebp + 4]
push 0
push eax
lea edx, [ebp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x422246
mov dword [ebp - 0x34], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
push 0x4abaa8
lea eax, [ebp - 0x34]
push eax
call fcn.0046b8cf
push 0x492df8
lea ecx, [ebp - 0x84]
call fcn.0040ca30
lea ecx, [ebp]
push ecx
push eax
lea edx, [ebp - 0xa0]
push edx
mov byte [ebp - 4], 3
call fcn.0040c6d0
push str.___systemFavoritesService
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 4
call fcn.004211b0
add esp, 0x18
cmp dword [eax + 0x18], ebx
jb 0x42228b
mov eax, dword [eax + 4]
jmp 0x42228e
add eax, 4
push 0
push 0
push 0
push 0
push str.Event_Log
push eax
push 1
push 2
push ebx
push 0xf01ff
push str.TrueCrypt_System_Favorites
push str.TrueCryptSystemFavorites
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.0042e890
lea ecx, [ebp - 0xa0]
call fcn.0042e890
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.0042e890
test esi, esi
jne 0x4222f5
lea ecx, [ebp - 0x4c]
call fcn.0041e690
push 0x4abaa8
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0046b8cf
lea edx, [ebp - 0x14]
push edx
push 1
push esi
mov dword [ebp - 0x14], str.Mounts_TrueCrypt_system_favorite_volumes.
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push str.Service
push 0
push str.SYSTEMCurrentControlSetControlSafeBootMinimalTrueCryptSystemFavorites
mov byte [ebp - 4], 5
call fcn.00450c60
push 0
push str.Service
push 0
push str.SYSTEMCurrentControlSetControlSafeBootNetworkTrueCryptSystemFavorites
call fcn.00450c60
add esp, 0x20
push 1
push 2
mov ecx, edi
call fcn.0041fd30
jmp 0x422446
lea eax, [ebp - 0x14]
push eax
push str.TrueCryptConfig
push str.SYSTEMCurrentControlSetServices_truecrypt
call fcn.00450840
add esp, 0xc
test eax, eax
je 0x422398
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffd
push eax
push str.TrueCryptConfig
push str.SYSTEMCurrentControlSetServices_truecrypt
mov ecx, edi
call fcn.0041fcc0
push str.TrueCryptSystemFavorites
push str.SYSTEMCurrentControlSetControlSafeBootMinimal
call fcn.00450e00
push str.TrueCryptSystemFavorites
push str.SYSTEMCurrentControlSetControlSafeBootNetwork
call fcn.00450e00
add esp, 0x10
push 0xf01ff
push str.TrueCryptSystemFavorites
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
jne 0x422403
mov dword [ebp - 0x24], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4abaa8
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x20], eax
call fcn.0046b8cf
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x42242c
mov dword [ebp - 0x3c], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4abaa8
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x38], eax
call fcn.0046b8cf
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x42243f
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp]
call fcn.0042e890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0046be7b
add ebp, 0x124
mov esp, ebp
pop ebp
ret 4