Function at 0x4ba320
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a81c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa8], esi
mov edx, str.dtl_drvprotect.exe
lea ecx, [ebp - 0x74]
call fcn.0040e950
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov word [ebp - 0x8c], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
cmp ecx, eax
je 0x4ba3aa
push 0xffffffffffffffff
push 0
push eax
call fcn.004048d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x4ba3c3
inc eax
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
call fcn.00404be0
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push 0
push eax
call fcn.005336c4
add esp, 8
test eax, eax
jne 0x4ba6b7
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa4]
push eax
call fcn.004ba710
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x4ba42d
mov edx, dword [edx]
cmp word [edx], 0
jne 0x4ba437
xor ecx, ecx
jmp 0x4ba44f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ba440
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00404d30
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x4ba47b
inc eax
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xa4]
call fcn.00404be0
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
xor eax, eax
mov word [ebp - 0xa4], ax
mov bl, byte [ebp + 8]
test bl, bl
je 0x4ba50e
cmp dword [0x61e86c], eax
jne 0x4ba555
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
push 0
push 0x5c0ab4
push 0x5c0b48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x61e86c], eax
cmp eax, 1
jne 0x4ba555
push 0
push 0x588030
push 0x20
lea eax, [ebp - 0x5c]
push eax
call fcn.004081b0
add esp, 0x10
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5c0b70
push 0x5c0b8c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4ba555
cmp dword [0x61e86c], 1
jne 0x4ba54c
push 1
push 0x588030
push 0x20
lea eax, [ebp - 0x5c]
push eax
call fcn.004081b0
add esp, 0x10
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
push str.EnableProtect
push str.DriverProtectConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esi + 0x218], 0
jne 0x4ba586
cmp dword [esi + 0x1a0], 0
jne 0x4ba68a
cmp dword [esi + 0x18c], 0
jne 0x4ba68a
test bl, bl
je 0x4ba586
push 0
push str.DTL6_DrvProtect
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esi + 0x218], eax
push 0x3c
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0052d340
add esp, 0xc
mov byte [ebp - 4], 7
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x8c]
call fcn.00404720
mov dword [ebp - 0x48], eax
mov eax, str._close
mov ecx, str._open
test bl, bl
cmove eax, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x9c], edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 5
jmp 0x4ba66b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4ba68a
cmp dword [esi + 0x218], 0
je 0x4ba68a
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x4ba6a3
inc eax
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
call fcn.00404be0
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x4ba6d9
inc eax
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
call fcn.00404be0
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
xor eax, eax
mov word [ebp - 0x8c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4