Function at 0x410031
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 - 0x24], 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 0x410377
call fcn.0040f958
test eax, eax
je 0x410377
mov eax, dword [0x49cbf0]
test eax, eax
je 0x410377
mov ecx, dword [0x49cbf4]
test ecx, ecx
je 0x410377
add ecx, eax
cmp dword [eax], 0x4b374e57
mov edi, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edi
jne 0x410377
cmp dword [eax + 4], 3
jne 0x410377
push esi
mov esi, dword [eax + 0x50]
add esi, eax
lea eax, [ebx + 0x24]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
and dword [ebp - 0x18], 0
jmp 0x4100ed
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x54]
jae 0x4100f2
cmp byte [esi], 0
je 0x4100f2
lea eax, [ebx + 0x24]
mov ecx, esi
call fcn.0040f8e7
test eax, eax
jne 0x4100f2
push esi
call fcn.0046df70
inc dword [ebp - 0x18]
pop ecx
lea esi, [esi + eax + 1]
cmp esi, dword [ebp - 0x1c]
jb 0x4100c4
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x54]
jne 0x410376
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x24]
push eax
call fcn.0046bb10
test eax, eax
je 0x410376
mov esi, dword [edi + 0x58]
add esi, edi
and dword [ebp - 0x18], 0
jmp 0x41013f
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x5c]
jae 0x410144
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0046c7d5
add esp, 0xc
test eax, eax
je 0x410144
add esi, 0x10
inc dword [ebp - 0x18]
cmp esi, dword [ebp - 0x1c]
jb 0x41011e
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x5c]
jne 0x410376
call fcn.00411ef4
mov esi, eax
test esi, esi
je 0x410376
push 0x11d8
push 0
push esi
call fcn.0046e3e0
add esp, 0xc
push 0x2000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x410376
push 0x400
push edi
push 0xffffffffffffffff
lea eax, [ebx + 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4101bd
lea eax, [ebx + 0x24]
push eax
push 0x486a4c
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebx + 0x24]
push eax
mov eax, dword [ebx + 4]
add eax, 0xaae60
push eax
call fcn.0040fb1e
add esp, 0xc
test eax, eax
je 0x4101ff
lea eax, [ebx + 0x24]
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_cloud_trusted_memory_space_compromised__n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x410366
lea eax, [edi + 0x800]
push eax
push edi
call fcn.004688cb
pop ecx
pop ecx
test eax, eax
je 0x410223
lea eax, [ebx + 0x24]
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_digisigned_memory_space_compromised__n
jmp 0x4101e9
push edi
call fcn.0040fbd4
test eax, eax
pop ecx
lea eax, [ebx + 0x24]
jne 0x41023f
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push str.K7RTScan:_PID:_lu_TID:_lu_Path:_s_file_is_not_suspicious_n
jmp 0x4101e9
push 0x5c
push eax
call fcn.0046e8f2
pop ecx
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x410366
inc eax
mov dword [esi + 8], 0xd
xor edi, edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
inc edi
mov dword [esi + 0xc], eax
mov byte [esi + 0x17], cl
mov byte [esi + 0x15], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x124], ecx
mov byte [esi + 0x14], 1
mov byte [esi + 0x16], 9
mov byte [esi + 0x10], cl
mov byte [esi + 0x11], 0x50
mov byte [esi + 0x12], cl
cmp dword [ebx + 4], edi
jne 0x4102d5
mov ecx, dword [ebx + 0x824]
mov edx, dword [ebp - 0x28]
dec ecx
mov eax, edi
shl eax, cl
test dword [edx + 0x10], eax
je 0x410363
test dword [edx + 0x14], eax
je 0x4102b7
mov byte [esi + 0x11], 0x50
mov byte [esi + 0x16], 9
jmp 0x4102bf
mov byte [esi + 0x11], 0x4e
mov byte [esi + 0x16], 1
mov ecx, dword [ebx + 0x824]
dec ecx
mov eax, edi
shl eax, cl
test dword [edx + 0x18], eax
je 0x4102d5
or dword [esi + 0xba4], edi
lea eax, [esi + 0x12c]
push str.Trojan.Win32.Generic__HIPS_
push eax
call fcn.0046eb90
mov eax, dword [ebx + 4]
push dword [ebp - 0x20]
add eax, 0xaae60
mov dword [esi + 0x128], eax
mov eax, dword [ebx + 8]
and dword [esi + 0x170], 0
mov dword [esi + 0x16c], eax
lea eax, [esi + 0x174]
push eax
mov dword [esi + 0x39c], 0x454c4946
call fcn.0046eb90
push 0x104
lea eax, [ebx + 0x24]
push eax
lea eax, [esi + 0x194]
push eax
call fcn.0046c445
push 0x400
lea eax, [ebx + 0x24]
push eax
lea eax, [esi + 0x3a0]
push eax
call fcn.0046c445
add ebx, 0x424
movsx eax, byte [ebx]
neg eax
sbb eax, eax
and eax, ebx
push eax
push esi
call fcn.00414924
add esp, 0x30
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x1c]
push edi
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 - 0x24]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046c1d2
leave
ret