Function at 0x10004d80
Capabilities:
Enumerate processes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006b68b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x550
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
push 0x104
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x10005017
mov ecx, 0x41
xor eax, eax
mov edi, ebx
lea edx, [esp + 0x148]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x149]
mov byte [esp + 0x148], al
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10096da8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str._MC_7
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push 1
push eax
and ecx, 3
push 1
lea eax, [esp + 0x160]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10002dc0
mov ebp, eax
add esp, 0x20
cmp ebp, 0xffffffff
jne 0x10004e75
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
jmp 0x10005017
xor eax, eax
mov ecx, 0xc5
lea edi, [esp + 0x24c]
push eax
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x18], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [esp + 0x10], edx
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], 0x128
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x568], 0
push ecx
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10005000
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10004f03
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10005000
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10004f03
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.10005820
test eax, eax
je 0x10005000
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x24c]
lea edx, [esp + 0x24c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.10004c40
test eax, eax
jne 0x10004f60
lea edi, [esp + 0x44]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [esp + 0x24c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x454]
lea ecx, [esp + 0x350]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.10004ca0
test eax, eax
jne 0x10004f9e
mov ecx, 0x41
lea edi, [esp + 0x350]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x454]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
mov dword [esp + 0x558], eax
push 0
push edx
lea eax, [esp + 0x254]
push 0x314
push eax
push ebp
mov dword [esp + 0x570], ecx
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10004ffc
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10004ff4
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call fcn.10005820
test eax, eax
jne 0x10004f11
mov ebx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x10005015
push eax
call esi
mov eax, ebx
mov ecx, dword [esp + 0x560]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x55c
ret