Function at 0x41b760
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push dword [0x6c06f8]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov ecx, dword [sym.imp.MSVCR120.dll_malloc]
test eax, eax
je 0x41bc24
mov dword [ebp - 8], 0x593768
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
cmp byte [edi + 0x13], 0
je 0x41b7eb
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 8], ecx
test esi, esi
je 0x41b7d9
sub ebx, ecx
lea ebx, [ebx]
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
cmp edx, dword [edi + 0xf]
jb 0x41b7c0
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ebx
mov byte [ecx + eax], 0
mov ecx, dword [sym.imp.MSVCR120.dll_malloc]
mov dword [ebp - 8], 0x593798
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 8]
add edi, 0x14
mov dword [ebp - 4], esi
cmp byte [esi + 0x13], 0
je 0x41b848
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 8], ecx
test esi, esi
mov esi, dword [ebp - 4]
je 0x41b83f
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41b822
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push dword [0x6c06f0]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 4], 0x593768
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x41bb64
cmp byte [edi + 0x13], 0
je 0x41b8cc
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41b8c0
sub ebx, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [edi + 0xf]
jb 0x41b8a7
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ecx + eax], 0
mov dword [ebp - 4], 0x5938d0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [esi + 0x13], 0
je 0x41b92d
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
mov esi, dword [ebp - 8]
je 0x41b924
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41b907
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 2
mov dword [ebp - 0x134], pe_nt_image_headers32
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x134]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41b9ae
mov ecx, dword [0x6c06c8]
lea eax, [ebp - 0x110]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41b990
test dl, dl
je 0x41b98c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41b990
add eax, 2
add ecx, 2
test dl, dl
jne 0x41b970
xor eax, eax
jmp 0x41b995
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ba91
lea eax, [ebp - 0x134]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41b962
cmp esi, 0xffffffff
je 0x41bb5c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0x593768
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
cmp byte [edi + 0x13], 0
je 0x41ba19
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41ba0d
sub ebx, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [edi + 0xf]
jb 0x41b9f4
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ecx + eax], 0
mov dword [ebp - 4], 0x593aa8
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [esi + 0x13], 0
je 0x41ba7a
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
mov esi, dword [ebp - 8]
je 0x41ba71
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41ba54
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0x593768
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
cmp byte [edi + 0x13], 0
je 0x41baec
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41bae0
sub ebx, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [edi + 0xf]
jb 0x41bac7
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ecx + eax], 0
mov dword [ebp - 4], 0x593a00
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [esi + 0x13], 0
je 0x41bb4d
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
mov esi, dword [ebp - 8]
je 0x41bb44
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41bb27
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [edi + 0x13], 0
je 0x41bbac
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41bba0
sub ebx, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [edi + 0xf]
jb 0x41bb87
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ecx + eax], 0
mov dword [ebp - 4], 0x593958
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [esi + 0x13], 0
je 0x41bc0d
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
mov esi, dword [ebp - 8]
je 0x41bc04
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41bbe7
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0x593768
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
cmp byte [edi + 0x13], 0
je 0x41bc81
mov esi, dword [edi + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41bc6f
sub ebx, ecx
mov eax, edx
add ecx, edx
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [ecx + ebx]
mov byte [ecx], al
mov ecx, dword [ebp - 4]
cmp edx, dword [edi + 0xf]
jb 0x41bc56
mov eax, dword [edi + 0xf]
mov ebx, ecx
mov dword [ebp - 0xc], ebx
mov byte [ecx + eax], 0
mov ecx, dword [sym.imp.MSVCR120.dll_malloc]
mov dword [ebp - 4], 0x593828
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], esi
cmp byte [esi + 0x13], 0
je 0x41bcde
mov esi, dword [esi + 0xf]
lea eax, [esi + 1]
push eax
call ecx
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 4], ecx
test esi, esi
mov esi, dword [ebp - 8]
je 0x41bcd5
mov ebx, eax
sub edi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + esi + 7]
xor al, byte [ecx + edi]
mov byte [ecx], al
cmp edx, dword [esi + 0xf]
jb 0x41bcb8
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xf]
mov edi, ecx
mov byte [ecx + eax], 0
push 0x200030
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]