Function at 0x425b20
Capabilities:
Get disk information
Modify service

Disassembly:
push 0xffffffffffffffff
push 0x48a867
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebp
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x204]
mov dword fs:[0], eax
mov ebp, ecx
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
jne 0x425b83
call fcn.00436e90
test eax, eax
je 0x425b83
mov eax, dword [esp + 0x214]
push eax
call fcn.00423af0
add esp, 4
jmp 0x425e6f
xor ecx, ecx
cmp dword [esp + 0x214], ecx
push 0xf003f
sete cl
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x425bc5
mov dword [esp + 0x18], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
call fcn.00469b49
mov dword [esp + 0x18], eax
push 2
push str.truecrypt
push eax
mov dword [esp + 0x218], 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x425c09
mov dword [esp + 0x20], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x24], eax
push 0x4a991c
lea eax, [esp + 0x24]
push eax
call fcn.00469b49
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x20c], 2
test edi, edi
je 0x425db2
push 0xb
call fcn.00435be0
add esp, 4
test eax, eax
jne 0x425da6
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call fcn.00425100
push str.drivers_truecrypt.sys
lea ecx, [esp + 0x64]
mov byte [esp + 0x210], 3
call fcn.004130d0
mov eax, dword [esp + 0x64]
mov ebp, 0x10
cmp dword [esp + 0x78], ebp
jae 0x425c79
lea eax, [esp + 0x64]
push 0x104
lea edx, [esp + 0x100]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
test eax, eax
je 0x425d93
push 0x80
lea eax, [esp + 0x80]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x425d93
cmp byte [esp + 0x7c], 0x46
jne 0x425d93
cmp byte [esp + 0x7d], 0x41
jne 0x425d93
cmp byte [esp + 0x7e], 0x54
jne 0x425d93
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x425cf1
lea eax, [esp + 0x64]
push 0x104
lea edx, [esp + 0x100]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
jne 0x425d21
lea ecx, [esp + 0x10]
call fcn.00422d70
push 0x4a991c
lea eax, [esp + 0x14]
push eax
call fcn.00469b49
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x48]
call fcn.00402690
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x490090
lea ecx, [esp + 0x50]
call fcn.004017e0
dec eax
push eax
push 0x490090
lea ecx, [esp + 0x50]
call fcn.004017e0
dec eax
push eax
push 0x490090
lea ecx, [esp + 0x50]
call fcn.004017e0
inc eax
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x50]
call fcn.00402920
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x218], 4
call fcn.00401e90
lea ecx, [esp + 0x28]
call fcn.00401cf0
lea ecx, [esp + 0x60]
mov byte [esp + 0x20c], 2
call fcn.00401cf0
jmp 0x425dab
mov ebp, 0x10
cmp dword [esp + 0x58], 0
jne 0x425db6
xor eax, eax
jmp 0x425dc4
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebp
jae 0x425dc4
lea eax, [esp + 0x48]
push 0
push 0
mov ecx, edi
neg ecx
sbb ecx, ecx
push 0
and ecx, str.Filter
xor edx, edx
push 0
test edi, edi
push 0
setne dl
push ecx
push eax
inc edx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x425e15
mov dword [esp + 0x10], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
push 0x4a991c
lea eax, [esp + 0x14]
push eax
call fcn.00469b49
mov ecx, dword [esp + 0x214]
push ecx
push str.Start
push str.SYSTEMCurrentControlSetServices_truecrypt
call fcn.0044ec10
add esp, 0xc
test eax, eax
jne 0x425e54
mov dword [esp + 0x10], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x1c], eax
call fcn.00469b49
lea ecx, [esp + 0x44]
call fcn.00401cf0
lea eax, [esp + 0x20]
call fcn.00422660
lea eax, [esp + 0x18]
call fcn.00422660
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.00469f7b
add esp, 0x200
ret 4