Function at 0x418488
Capabilities:
Get disk information
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x51a448]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
xor esi, esi
lea eax, [esp + 0x28]
push 0x1c0
push esi
push eax
mov ebx, ecx
mov dword [esp + 0x1c], esi
call fcn.0049ef70
xor eax, eax
mov dword [esp + 0x2c], 0x5c3a41
lea edi, [esp + 0x1f8]
add esp, 0xc
stosd dword es:[edi], eax
push 0x14000
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4189ea
mov ecx, 0x400
and dword [esp + 0x1bc], 0
lea esi, [eax + 0x104]
mov eax, 0x800
mov dword [esp + 0x1c], esi
add esi, ecx
mov dword [esp + 0x40], esi
add esi, eax
mov dword [esp + 0x44], esi
add esi, eax
mov edi, esi
add esi, ecx
mov dword [esp + 0x18], esi
add esi, ecx
mov dword [esp + 0x1c8], esi
add esi, eax
mov dword [esp + 0x1cc], esi
lea eax, [esp + 0x1b8]
add esi, ecx
mov dword [esp + 0x1d0], esi
add esi, ecx
push eax
push dword [ebx + 0xc]
mov dword [esp + 0x1c], esi
add esi, ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x41856b
lea ecx, [esp + 0x1b8]
call fcn.0048dc50
mov ecx, dword [esp + 0x1b8]
lea edx, [esp + 0x1dc]
call fcn.0048de60
test eax, eax
je 0x4185a7
cmp dword [esp + 0x1dc], 0
je 0x4185a7
mov ecx, dword [esp + 0x1b8]
mov edx, esi
mov dword [esp + 0x1e0], edx
add esi, 0x4b0
call fcn.0048df20
call fcn.0040a6a4
mov eax, dword [ebx + 0x1144]
test eax, 0x10000
je 0x4185c1
mov ecx, dword [0x51ec00]
jmp 0x4185dd
test eax, 0x20000
je 0x4185d0
mov ecx, dword [0x51eb8c]
jmp 0x4185dd
test eax, 0x40000
je 0x4185fb
mov ecx, dword [0x51ebe4]
test ecx, ecx
je 0x4185fb
mov eax, dword [ebx + 0x934]
add eax, 0xaae60
push eax
push ecx
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor ecx, ecx
lea eax, [ebx + 0x940]
push ecx
push ecx
push 0x400
push edi
push 0xffffffffffffffff
push eax
push ecx
push ecx
mov byte [edi], cl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x418631
push 0x400
lea eax, [ebx + 0x940]
push eax
push edi
call fcn.004cb853
add esp, 0xc
mov al, byte [ebx + 0x940]
lea ecx, [ebx + 0x134]
xor edx, edx
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
push edx
push edx
push 0x400
push eax
push 0xffffffffffffffff
push ecx
push edx
push edx
mov byte [eax], dl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x418678
push 0x400
lea eax, [ebx + 0x134]
push eax
push dword [esp + 0x20]
call fcn.004cb853
add esp, 0xc
mov eax, dword [ebx + 0x934]
mov dword [esp + 0x28], eax
lea eax, [ebx + 0x940]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov word [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test byte [ebx + 0x1140], 1
lea edx, [esp + 0x60]
push 1
mov dword [esp + 0x60], eax
pop eax
push 0
pop ecx
cmovne eax, ecx
mov ecx, edi
mov dword [esp + 0x1b4], eax
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0040c63c
mov eax, dword [esp + 0x1dc]
xor ecx, ecx
add esp, 0x14
mov byte [eax], cl
mov eax, dword [esp + 0x1cc]
mov byte [eax], cl
mov eax, dword [esp + 0x1d0]
mov byte [eax], cl
lea ecx, [esp + 0x68]
push dword [esp + 0x1d0]
mov edx, dword [esp + 0x1cc]
push dword [esp + 0x1d0]
call fcn.0041f10d
pop ecx
pop ecx
call fcn.0040cd9c
test eax, eax
je 0x418769
mov edx, esi
mov dword [esp + 0x1e4], esi
mov ecx, edi
call fcn.0040cdee
neg eax
sbb eax, eax
and dword [esp + 0x1e4], eax
cmp byte [ebx + 0x14], 0
je 0x41896a
test byte [ebx + 0x1140], 0x40
je 0x4187c8
mov edx, dword [esp + 0x24]
lea ecx, [ebx + 0x940]
call fcn.0040d832
test eax, eax
je 0x4187c8
cmp byte [0x51e6c9], 0
je 0x4187bf
mov esi, dword [esp + 0x14]
push edi
push dword [ebx + 0x934]
push dword [ebx + 0x12c]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_digisigned_memory_space_compromised__n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
pop esi
mov dword [esp + 0x10], esi
jmp 0x4187cc
mov esi, dword [esp + 0x10]
test byte [ebx + 0x1140], 0x10
je 0x4187eb
lea ecx, [ebx + 0x128]
call fcn.0041812d
test eax, eax
je 0x4187eb
or esi, 0x10
mov dword [esp + 0x10], esi
test byte [ebx + 0x1140], 0x20
je 0x41885f
lea eax, [esp + 0x1ec]
push eax
push edi
call fcn.00499d60
test eax, eax
je 0x41885f
mov ecx, dword [ebx + 0x934]
lea eax, [esp + 0x1ec]
push eax
add ecx, 0xaae60
mov edx, edi
call fcn.004183d1
pop ecx
test eax, eax
je 0x41885f
cmp byte [0x51e6c9], 0
je 0x418858
push edi
push dword [ebx + 0x934]
push dword [ebx + 0x12c]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_cloud_trusted_memory_space_compromised__n
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or esi, 0x20
mov dword [esp + 0x10], esi
test esi, esi
jne 0x4189d7
test byte [ebx + 0x1140], 2
je 0x4188bb
mov ecx, dword [ebx + 0x93c]
call fcn.00418020
test eax, eax
je 0x4188bb
cmp byte [0x51e6c9], 0
je 0x4188af
mov esi, dword [esp + 0x14]
push edi
push dword [ebx + 0x93c]
push dword [ebx + 0x938]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_Threat_thread_terminated__n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 2
pop esi
mov dword [esp + 0x10], esi
mov byte [esp + 0x49], 0x79
test byte [ebx + 0x1140], 4
je 0x418911
mov ecx, dword [ebx + 0x938]
call fcn.0040bb77
test eax, eax
je 0x418911
cmp byte [0x51e6c9], 0
je 0x418905
push edi
push dword [ebx + 0x93c]
push dword [ebx + 0x938]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_Threat_process_terminated__n
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or esi, 4
mov byte [esp + 0x49], 0x79
mov dword [esp + 0x10], esi
test byte [ebx + 0x1140], 8
je 0x41896a
lea ecx, [esp + 0x28]
call fcn.00418065
cmp byte [0x51e6c9], 0
mov byte [esp + 0x49], al
je 0x41895f
push edi
mov edi, dword [esp + 0x18]
movzx eax, al
push eax
push dword [ebx + 0x93c]
push dword [ebx + 0x938]
push str.K7RTScan:_PID:_lu_TID:_lu_CleanStatus:_lu_Path:_s_QuarantineThreat__n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, byte [esp + 0x49]
cmp al, 0x73
je 0x41896a
or esi, 8
mov dword [esp + 0x10], esi
cmp byte [0x51e6c8], 0
je 0x418986
cmp dword [esp + 0x1b4], 0
jne 0x418986
lea ecx, [esp + 0x28]
call fcn.0042472a
cmp dword [0x51e6e0], 0
je 0x4189aa
lea ecx, [esp + 0x28]
call fcn.00425190
test byte [ebx + 0x1140], 1
mov esi, dword [esp + 0x10]
je 0x4189ae
or esi, 1
jmp 0x4189ae
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4189d7
cmp byte [ecx], 0
je 0x4189d7
call fcn.0041fb11
test eax, eax
jne 0x4189d7
push dword [ebx + 0x938]
lea edx, [esp + 0x2c]
push 3
pop ecx
call fcn.0041f9e3
pop ecx
push dword [esp + 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
call fcn.0041e227
mov ecx, dword [esp + 0x1fc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049d307
mov esp, ebp
pop ebp
ret