Function at 0x40fd48
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x49ab28]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x28], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
xor eax, eax
cmp dword [0x49c434], 0
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x410020
mov eax, dword [ebx + 4]
cmp eax, 1
je 0x410020
cmp eax, 2
je 0x410020
call fcn.0040f958
test eax, eax
je 0x410020
mov eax, dword [0x49cbf0]
test eax, eax
je 0x410020
mov ecx, dword [0x49cbf4]
test ecx, ecx
je 0x410020
add ecx, eax
cmp dword [eax], 0x4b374e57
mov dword [ebp - 0x20], ecx
mov edi, eax
jne 0x410020
cmp dword [eax + 4], 3
jne 0x410020
push esi
mov esi, dword [eax + 0x50]
add esi, eax
lea eax, [ebx + 0x10]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_CharUpperA]
and dword [ebp - 0x18], 0
jmp 0x40fe19
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x54]
jae 0x40fe1e
cmp byte [esi], 0
je 0x40fe1e
mov eax, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f8e7
test eax, eax
jne 0x40fe1e
push esi
call fcn.0046df70
inc dword [ebp - 0x18]
pop ecx
lea esi, [esi + eax + 1]
cmp esi, dword [ebp - 0x20]
jb 0x40fdf0
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x54]
jne 0x41001f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call fcn.0046bb10
test eax, eax
je 0x41001f
mov esi, dword [edi + 0x58]
add esi, edi
and dword [ebp - 0x18], 0
jmp 0x40fe6a
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x5c]
jae 0x40fe6f
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0046c7d5
add esp, 0xc
test eax, eax
je 0x40fe6f
add esi, 0x10
inc dword [ebp - 0x18]
cmp esi, dword [ebp - 0x20]
jb 0x40fe49
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x5c]
jne 0x41001f
call fcn.00411ef4
mov esi, eax
test esi, esi
je 0x41001f
push 0x2000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41001f
mov edi, 0x400
push edi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40fed7
push dword [ebp - 0x1c]
push 0x486a4c
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 4]
push dword [ebp - 0x1c]
add eax, 0xaae60
push eax
call fcn.0040fb1e
add esp, 0xc
test eax, eax
je 0x40ff1b
push dword [ebp - 0x1c]
push dword [ebx + 0xc]
push dword [ebx + 8]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_cloud_trusted_memory_space_compromised__n
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x41000d
mov eax, dword [ebp - 0x18]
add eax, 0x800
push eax
push dword [ebp - 0x18]
call fcn.004688cb
pop ecx
pop ecx
test eax, eax
je 0x40ff42
push dword [ebp - 0x1c]
push dword [ebx + 0xc]
push dword [ebx + 8]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_digisigned_file_memory_space_compromised__n
jmp 0x40ff01
push 0x5c
push dword [ebp - 0x1c]
call fcn.0046e8f2
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x41000d
mov dword [esi + 8], 0xd
mov eax, dword [ebx + 8]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x12c]
push str.Trojan.Win32.Generic__HIPS_
push eax
mov byte [esi + 0x16], 9
mov byte [esi + 0x17], cl
mov byte [esi + 0x15], 1
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x124], ecx
mov byte [esi + 0x10], cl
mov byte [esi + 0x11], 0x50
mov byte [esi + 0x12], cl
call fcn.0046eb90
mov eax, dword [ebx + 4]
add eax, 0xaae60
mov dword [esi + 0x128], eax
mov eax, dword [ebx + 8]
and dword [esi + 0x170], 0
mov dword [esi + 0x16c], eax
mov eax, dword [ebp - 0x24]
inc eax
push eax
lea eax, [esi + 0x174]
push eax
mov dword [esi + 0x39c], 0x454c4946
call fcn.0046eb90
push 0x104
push dword [ebp - 0x1c]
lea eax, [esi + 0x194]
push eax
call fcn.0046c445
push edi
push dword [ebp - 0x1c]
lea eax, [esi + 0x3a0]
push eax
call fcn.0046c445
push 0
push esi
call fcn.00414924
add esp, 0x30
mov dword [ebp - 0x28], 1
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046c1d2
leave
ret