Function at 0x411ae0
Capabilities:
Encode data using xor
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c76e4
mov eax, dword fs:[0]
push eax
sub esp, 0xb80
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0xb6c]
mov dword [ebp - 0xb3c], eax
call fcn.00444480
mov esi, dword [0x526340]
mov ecx, 0xa
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
mov dword [ebp - 4], 0
cmp edx, 1
jne 0x411b82
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
add esp, 8
push 0
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x411c6c
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb2c], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb2c]
push str.enumProcess_CreateToolhelp32Snapshot__d
push eax
call fcn.00406040
add esp, 0xc
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 3
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xb6c]
mov byte [ebp - 4], 4
call fcn.00444920
lea ecx, [ebp - 0xb5c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 3
call fcn.00444690
cmp dword [ebp - 0x818], 0x10
jb 0x411c3d
push dword [ebp - 0x82c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0xb2c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x411c63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x4123b3
push 0x22c
lea eax, [ebp - 0xb24]
push 0
push eax
call fcn.004a9c90
add esp, 0xc
lea eax, [ebp - 0xb24]
push eax
push edi
mov dword [ebp - 0xb24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41225d
mov eax, dword [0x526340]
imul eax, eax
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 6
jne 0x411cc3
lea eax, [ebp - 0x8f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
or ebx, 0xffffffff
jmp 0x411cd0
push dword [ebp - 0xb1c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4121bc
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.004a9c90
add esp, 0xc
lea eax, [ebp - 0x814]
push 0x800
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x411d68
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb38], eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb38]
push str.GetProcessImageFileName__d
push eax
call fcn.00406040
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xb38]
jmp 0x41219f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb2c], eax
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x411db7
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x411de2
push esi
push eax
lea ecx, [ebp - 0xb2c]
call fcn.004074c0
jmp 0x411de2
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411dc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0xb2c]
call fcn.00409670
mov byte [ebp - 4], 7
call fcn.004188e0
test al, al
jne 0x411e18
mov eax, 0x42
mov esi, 0x45
lea esp, [esp]
test esi, esi
je 0x411e11
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x411e00
add eax, esi
mov dword [0x526340], eax
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb28], eax
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb30], eax
push dword [ebp - 0xb1c]
lea eax, [ebp - 0xb30]
push eax
lea eax, [ebp - 0xb28]
push eax
mov byte [ebp - 4], 9
call fcn.004341b0
add esp, 0xc
lea ecx, [ebp - 0xb5c]
push 0
call fcn.00444480
mov byte [ebp - 4], 0xa
call fcn.00418800
test al, al
jne 0x411f17
mov edx, dword [0x526340]
xor esi, esi
mov edi, edi
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
add edx, eax
inc esi
mov dword [0x526340], edx
cmp esi, 0x100
jl 0x411e90
mov eax, dword [ebp - 0xb28]
mov esi, 0x4e0b10
cmp dword [eax - 0xc], 0
mov ecx, 0x524ab0
cmovne esi, eax
mov eax, dword [0x524ab0]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb34], eax
mov byte [ebp - 4], 0xb
test esi, esi
je 0x411f86
test esi, 0xffff0000
jne 0x411f70
movzx esi, si
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x411f95
push esi
push eax
lea ecx, [ebp - 0xb34]
call fcn.004074c0
jmp 0x411f95
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411f75
sub ecx, edx
sar ecx, 1
jmp 0x411f88
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0xb34]
call fcn.00409670
lea eax, [ebp - 0xb34]
push eax
lea eax, [ebp - 0x82c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xb7c]
mov byte [ebp - 4], 0xd
call fcn.004443a0
push str.user
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 0xe
call fcn.00444920
lea ecx, [ebp - 0xb7c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb7c]
mov byte [ebp - 4], 0xd
call fcn.00444690
cmp dword [ebp - 0x818], 0x10
jb 0x412007
push dword [ebp - 0x82c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0xb34]
add edx, 0xfffffff0
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x82c], 0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412045
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00418910
test al, al
jne 0x41206f
push 4
call fcn.004a834d
add esp, 4
mov esi, eax
call fcn.004a96f9
mov dword [esi], eax
push esi
mov dword [0x526340], eax
call fcn.004a831e
add esp, 4
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xb8c]
mov byte [ebp - 4], 0xf
call fcn.004443a0
push str.process
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 0x10
call fcn.00444920
lea ecx, [ebp - 0xb8c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb8c]
mov byte [ebp - 4], 0xf
call fcn.00444690
cmp dword [ebp - 0x818], 0x10
mov byte [ebp - 4], 0xa
jb 0x4120e1
push dword [ebp - 0x82c]
call fcn.004a831e
add esp, 4
push dword [ebp - 0xb1c]
lea ecx, [ebp - 0xb4c]
call fcn.004443e0
push 0x4e0b20
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 0x11
call fcn.00444920
lea ecx, [ebp - 0xb4c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb4c]
mov byte [ebp - 4], 0xa
call fcn.00444690
lea eax, [ebp - 0xb5c]
push eax
lea ecx, [ebp - 0xb6c]
call fcn.00444f60
call fcn.00450de0
test al, al
jne 0x412144
inc dword [0x526568]
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 4], 9
call fcn.00444690
mov edx, dword [ebp - 0xb30]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412176
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb28]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412199
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4121bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xb24]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411cd0
call fcn.00418970
test al, al
jne 0x4121f9
mov eax, dword [0x526340]
xor esi, esi
test eax, eax
je 0x4121f3
mov ecx, eax
cdq
and ecx, 1
sub eax, edx
add esi, ecx
sar eax, 1
jne 0x4121e5
mov dword [0x526340], esi
lea ecx, [ebp - 0xb6c]
call fcn.00445410
test al, al
je 0x412249
push str.empty
lea ecx, [ebp - 0xb4c]
call fcn.00444440
push 0x4dfc64
lea ecx, [ebp - 0xb6c]
mov byte [ebp - 4], 0x12
call fcn.00444920
lea ecx, [ebp - 0xb4c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb4c]
mov byte [ebp - 4], 1
call fcn.00444690
test edi, edi
je 0x4123ac
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4123ac
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb28], eax
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb28]
push str.enumProcess_Process32First__d
push eax
call fcn.00406040
add esp, 0xc
lea eax, [ebp - 0xb28]
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0xb4c]
mov byte [ebp - 4], 0x14
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0xb6c]
mov byte [ebp - 4], 0x15
call fcn.00444920
lea ecx, [ebp - 0xb4c]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0xb4c]
mov byte [ebp - 4], 0x14
call fcn.00444690
cmp dword [ebp - 0x818], 0x10
jb 0x412300
push dword [ebp - 0x82c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0xb28]
jmp 0x411c43
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84c]
call fcn.004465d0
mov ecx, dword [0x526340]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0xc
idiv ecx
mov byte [ebp - 4], 0x1a
cmp edx, 0xa
jne 0x412416
push 0x28
call fcn.004a7aa0
add esp, 4
mov edi, eax
xor esi, esi
jmp 0x4123f0
call fcn.004a96f9
add eax, dword [0x526340]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x4123f0
mov eax, dword [edi + 0x24]
push edi
mov dword [0x526340], eax
call fcn.004a98f0
add esp, 4
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xb28], esi
lea eax, [ebp - 0xb6c]
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 0x1b
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0x1c
jb 0x412457
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x412476
xor ecx, ecx
jmp 0x41248e
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412481
sub ecx, dword [ebp - 0xb30]
push ecx
push edx
mov ecx, edi
call fcn.00401460
lea eax, [ebp - 0xb2c]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea eax, [esi - 0x10]
lea edi, [edx - 0x10]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0xb38], eax
cmp edi, eax
je 0x41257a
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0xb30], ecx
jl 0x412565
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x412565
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x4124fe
cmp ecx, dword [edi]
jne 0x4124fe
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x41253b
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x412512
call fcn.00409970
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
mov ecx, dword [ebp - 0xb30]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41255a
mov edx, dword [ebp - 0xb38]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 0xb28], esi
jmp 0x41257a
push dword [edx - 0xc]
lea ecx, [ebp - 0xb28]
push edx
call fcn.00409670
mov esi, dword [ebp - 0xb28]
mov edx, dword [ebp - 0xb2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41259d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x818], 0x10
mov byte [ebp - 4], 0x1b
jb 0x4125b8
push dword [ebp - 0x82c]
call fcn.004a831e
add esp, 4
call fcn.00450de0
test al, al
jne 0x4125e3
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x526340]
mov edx, 7
test eax, eax
cmove ecx, edx
mov dword [0x526340], ecx
mov edi, dword [ebp - 0xb3c]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x412604
call fcn.00409970
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x412622
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x834], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x84c], 0x4dfc5c
jb 0x412647
push dword [ebp - 0x848]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x84c]
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x848], 0
call fcn.004466d0
lea ecx, [ebp - 0xb6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret