Function at 0x559c2b
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x230
mov word [esp + 0xc], dx
shr edx, 0x10
mov dword [esp + 4], ecx
mov ecx, 0x80000
mov ebx, 0x80000
mov byte [esp + 0xe], dl
xor edx, edx
call fcn.00487eba
lea esi, [esp + 0x60]
mov dword [esi], eax
mov dword [esi + 4], edx
and dword [esi + 8], 0
and dword [esp + 0x80], 0
mov ecx, esi
mov edx, ebx
call fcn.00486401
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x80]
push eax
push ebx
push edi
push 5
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x559cab
mov eax, dword [esp + 0x80]
add ebx, ebx
lea ecx, [eax + 0x2800]
test eax, eax
cmovne ebx, ecx
jmp 0x559c68
test eax, eax
jne 0x559d2b
mov dword [esp + 0x68], ebx
push 4
pop ecx
mov edx, 0x7d0
call fcn.00425bef
test eax, eax
je 0x55a20f
lea ebx, [esp + 0x44]
xor edx, edx
xor esi, esi
mov dword [ebx], 0x1f4
mov dword [ebx + 4], eax
and dword [ebx + 8], 0
cmp edx, dword [esp + 0x44]
jne 0x559cf2
mov ecx, ebx
call fcn.005588d4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
lea ecx, [edi + esi]
mov dword [eax + edx*4], ecx
mov edx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx]
add esi, ecx
test ecx, ecx
jne 0x559cdd
mov ecx, dword [esp + 4]
cmp byte [esp + 0xc], 0
lea ebx, [ecx + 0x50]
mov dword [esp + 0x6c], ebx
je 0x559d36
xor edx, edx
xor esi, esi
mov edi, ecx
call fcn.0055a318
mov eax, dword [edi + 0x48]
jmp 0x559d3a
mov ecx, dword [esp + 0x60]
mov edx, edi
jmp 0x55a202
xor eax, eax
xor esi, esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
call fcn.00552830
lea edi, [esp + 0x80]
mov esi, edx
mov edx, eax
mov ecx, edi
push 0x19db1de
push 0xd53e8000
push esi
call fcn.005528a0
add esp, 0xc
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
or eax, dword [edi + 4]
je 0x559d78
xor ecx, ecx
xor edx, edx
jmp 0x559d86
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x4c]
movq xmm0, qword [esp + 0x44]
lea eax, [esp + 0x78]
lea edi, [esp + 0xc]
and dword [esp + 0x10], 0
mov dword [esp + 0x14], 8
and dword [esp + 0x18], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x70]
mov dword [esp + 0x88], esi
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x80]
cmp eax, esi
mov dword [esp + 0x24], eax
jb 0x55a21c
lea eax, [esp + 0x8c]
mov ecx, esi
mov eax, dword [eax - 8]
mov dword [esp + 0x20], eax
call fcn.005586a9
lea edi, [esp + 0x28]
lea ebx, [esp + 0x8c]
mov edx, esi
mov ecx, edi
push ebx
push esi
mov esi, dword [esp + 0x28]
push esi
push 1
push eax
push 0
call fcn.005574b6
add esp, 0x18
mov eax, dword [esp + 0x24]
test eax, eax
je 0x559e45
shl eax, 2
push 4
pop edx
mov ecx, esi
push eax
call fcn.00408833
pop eax
mov eax, dword [esp + 0x30]
xor edx, edx
sub eax, 1
jb 0x559e5e
mov edi, dword [edi]
test edi, edi
je 0x559e5e
add edx, dword [edi + 8]
add edi, 0xc
jmp 0x559e4b
lea ecx, [esp + 0x10]
call fcn.005588b2
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x28]
lea ecx, [esp + 0x160]
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
lea ecx, [esp + 0x160]
call fcn.00555ea1
test eax, eax
je 0x559f15
movq xmm0, qword [eax + 4]
mov esi, dword [eax]
mov ecx, eax
movq qword [esp + 0x3c], xmm0
call fcn.0048a86b
cmp esi, 0x80000000
je 0x559f15
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
mov edx, esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
call fcn.005588b2
mov ebx, dword [esp + 0x18]
imul ecx, esi, 0xe0
imul eax, ebx, 0xe0
add eax, dword [esp + 0x14]
push ecx
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
and dword [esp + 0x88], 0
add ebx, esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ebx
call fcn.00555976
jmp 0x559e7f
lea ecx, [esp + 0x160]
call fcn.0055748e
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
imul edx, dword [esp + 0x18], 0xe0
mov dword [esp + 0x5c], eax
lea eax, [esi + edx]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 4]
add eax, 0x60
mov dword [esp + 0x50], eax
test edx, edx
je 0x55a164
mov eax, dword [esi]
cmp eax, 2
je 0x55a15e
mov edi, dword [esi + 0xd0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edx
lea eax, [esi + 4]
push 0xcc
push eax
lea eax, [esp + 0x168]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esi + 0xd4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], edi
movsd qword [esp + 0x28], xmm0
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x60]
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x64]
push edi
mov eax, dword [esp + 8]
push dword [eax + 0x6c]
mov eax, dword [esp + 0xc]
push dword [eax + 0x68]
call fcn.0055713a
add esp, 0xc
mov edi, dword [esp + 4]
mov ebx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
cmp dword [edi + 0x58], 0
je 0x55a148
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
lea eax, [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
push 0x5594ef
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x10]
push ebx
call fcn.004963cc
add esp, 0x10
test eax, eax
je 0x55a0aa
mov eax, dword [edi + 0x50]
mov esi, dword [esp + 0x3c]
shr ebx, 0x19
movzx ecx, byte [eax + edx]
mov dword [esp + 8], esi
and ecx, 1
sub dword [edi + 0x58], ecx
lea ecx, [edx - 0x10]
and ecx, dword [edi + 0x54]
mov byte [eax + edx], bl
neg edx
mov byte [ecx + eax + 0x10], bl
imul ecx, edx, 0xe8
inc dword [edi + 0x5c]
lea esi, [eax + ecx - 0xdc]
mov eax, dword [esp + 8]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esi - 4], eax
push 0xcc
lea eax, [esp + 0x164]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esi + 0xcc], eax
movq xmm0, qword [esp + 0x28]
movq qword [esi + 0xd0], xmm0
mov eax, dword [esp + 0x30]
mov dword [esi + 0xd8], eax
jmp 0x55a12f
mov eax, dword [esi]
neg edx
imul ebx, edx, 0xe8
mov dword [esp + 8], eax
lea esi, [eax + ebx - 0xe0]
push 0xe0
push esi
lea edi, [esp + 0x88]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 8]
lea esi, [eax + ebx - 0xdc]
push 0xcc
lea eax, [esp + 0x164]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esi + 0xcc], eax
movq xmm0, qword [esp + 0x28]
movq qword [esi + 0xd0], xmm0
mov eax, dword [esp + 0x30]
mov dword [esi + 0xd8], eax
cmp dword [esp + 0x80], 2
je 0x55a12f
mov ecx, edi
call fcn.005559d7
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esi, 0xe0
add edx, 0xffffff20
jmp 0x559f4b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
call fcn.00559517
mov edi, dword [esp + 4]
jmp 0x559fea
add esi, 0xe0
mov eax, dword [esp + 0x54]
mov ecx, 0xe0
xor edx, edx
sub eax, esi
div ecx
mov ecx, esi
mov edx, eax
call fcn.005559b6
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
call fcn.00555997
mov esi, dword [esp + 4]
mov ebx, 0xe8
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edi, dword [esi + 0x5c]
lea esi, [esp + 0x80]
movdqa xmm0, xmmword [eax]
lea ecx, [ecx + eax + 1]
mov dword [esi], eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
pmovmskb edx, xmm0
not edx
mov word [esi + 0xc], dx
mov dword [esi + 0x10], edi
mov ecx, esi
call fcn.00558cd7
test eax, eax
je 0x55a1fa
cmp byte [eax - 4], 0
mov edi, eax
mov byte [eax - 4], 0
jne 0x55a1c2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
sub eax, edi
cdq
idiv ebx
mov edx, eax
call fcn.00559b7a
add edi, 0xffffff20
mov ecx, edi
call fcn.005559d7
jmp 0x55a1c2
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
call fcn.00563c9c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop ecx
mov edx, 0x7d0
call fcn.00434230
push 0x2f
pop edx
mov ecx, 0x69eb88
push 0x69ec14
call fcn.0043a9e0