Function at 0x406980
Capabilities:
Create process on windows
Delete directory
Delete file
Get common file path
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42fd7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
push ebp
push esi
push edi
call fcn.0042812a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x51c], 0
call fcn.0042812a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x51c], 1
call fcn.0042812a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x51c], 2
call fcn.0042812a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x51c], 3
call fcn.00404f60
mov ebx, eax
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x308]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc0]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406a58
sub eax, ecx
push eax
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x24]
call fcn.00405f60
lea eax, [esp + 0xc0]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406a80
sub eax, edx
push eax
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x20]
call fcn.00405f60
push 9
push str.MFPTBULK
lea ecx, [esp + 0x20]
call fcn.00406000
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xc
push 0x431ff4
lea ecx, [esp + 0x18]
call fcn.00406000
mov esi, dword [esp + 0x10]
push esi
lea edx, [esp + 0x40c]
push str._s__q
push edx
call fcn.00412f35
mov eax, dword [0x441770]
add esp, 0xc
test eax, eax
je 0x406b35
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x428]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406b26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x406b6c
cmp ebx, 0xa28
jne 0x406b6c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x7c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x428]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406b6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xb
push str._fabulk.ini
lea ecx, [esp + 0x18]
call fcn.00406000
mov edx, dword [esp + 0x10]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x406cb4
push 0
lea eax, [esp + 0x24]
push eax
push 0x40
lea ecx, [esp + 0x314]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406ca5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406ca5
lea edx, [esp + 0x308]
push str.INF_
push edx
call fcn.00412e30
mov esi, eax
push 0xd
push esi
call fcn.00413150
sub eax, esi
sub eax, 4
push eax
add esi, 4
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00413010
add esp, 0x1c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406090
push str.Inf_
lea ecx, [esp + 0x14]
call fcn.004061c0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.004061c0
mov esi, dword [esp + 0x10]
push 0x20
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call ebx
lea eax, [esp + 0x38]
push str..inf
push eax
call fcn.00412e30
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
mov byte [eax + 1], 0x70
call fcn.00406090
push str.Inf_
lea ecx, [esp + 0x14]
call fcn.004061c0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.004061c0
mov esi, dword [esp + 0x10]
push 0x20
push esi
call edi
push esi
call ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406cba
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406cba
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xc
push str.DR_HIDE.exe
lea ecx, [esp + 0x18]
call fcn.00406000
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x1c8]
push ecx
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x406d04
mov eax, dword [esp + 0x10]
push 0x20
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xb
push str.FABulk.sys
lea ecx, [esp + 0x18]
call fcn.00406000
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c8]
push eax
push ecx
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x406d57
mov edx, dword [esp + 0x10]
push 0x20
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call ebx
mov eax, dword [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xb
push str.FABulk.inf
lea ecx, [esp + 0x18]
call fcn.00406000
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c8]
push edx
push eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406da2
mov ecx, dword [esp + 0x10]
push 0x20
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call esi
mov ebx, dword [esp + 0x18]
push 0x20
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00406090
push 0x1c
push str._system32driversFABulk.sys
lea ecx, [esp + 0x1c]
call fcn.00406000
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c8]
push ecx
push edx
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406dfd
mov eax, dword [esp + 0x14]
push 0x20
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00406090
push 0xf
push str.infFABulk.inf
lea ecx, [esp + 0x1c]
call fcn.00406000
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c8]
push eax
push ecx
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406e48
mov edx, dword [esp + 0x14]
push 0x20
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00406090
push 0xb
push str._fabulk.ini
lea ecx, [esp + 0x18]
call fcn.00406000
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x1c8]
push edx
push ebx
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
je 0x406e8b
push 0x20
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x51c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406eb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x51c], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x406ed6
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x51c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406efc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x51c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406f25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x514]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret