Function at 0x10039510
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a43c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 0
push edx
mov ecx, eax
mov dword [ebp - 0x274], eax
call fcn.10003b10
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2a0]
call fcn.10003b10
mov dword [ebp - 0x1c], 0
push 0x34
mov byte [ebp - 4], 3
call fcn.10041665
mov esi, eax
add esp, 4
mov dword [ebp - 0x274], esi
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 4]
mov dword [esi], 0x1007bd64
call fcn.10003b10
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x2b8]
mov dword [esi + 0x2c], 0
xor eax, eax
mov dword [esi + 0x30], 0
movups xmm0, xmmword [ebp - 0x2a0]
mov dword [ebp - 0x1c], esi
movups xmmword [esi + 0x1c], xmm0
movq xmm0, qword [ebp - 0x290]
movq qword [esi + 0x2c], xmm0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
call fcn.10037da0
xor edi, edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x27c], edi
push edi
push 2
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x288], eax
cmp eax, 0xffffffff
jne 0x10039670
mov edi, dword [ebp - 0x278]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x1003972b
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [eax + eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x270]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test al, al
je 0x100396ec
cmp edi, dword [ebp - 0x27c]
je 0x100396d3
mov ecx, 0x8b
lea esi, [ebp - 0x270]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x280]
mov esi, dword [ebp - 0x274]
add edi, 0x22c
mov dword [ebp - 0x280], edi
jmp 0x100396ec
lea eax, [ebp - 0x270]
push eax
push edi
lea ecx, [ebp - 0x284]
call fcn.1003d0d0
mov edi, dword [ebp - 0x280]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10039690
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebp - 0x284]
mov dword [ecx + 4], edi
mov edi, ecx
mov dword [ecx], eax
mov eax, dword [ebp - 0x27c]
mov dword [edi + 8], eax
mov edx, dword [esi]
lea eax, [ebp - 0x40]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x10039774
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003976a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039794
push edx
push ecx
call fcn.10041ac4
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004144e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1004a021
int3