Function at 0x56d550
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5bb648]
test eax, eax
jne 0x56d57a
push 0x594f40
call fcn.0056fec0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x56d575
or eax, 0xffffffff
mov dword [0x5bb648], eax
push edi
call eax
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60001
jb 0x56d5a5
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x5baf70]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [edi]
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0x10], ecx
je 0x56d610
mov dword [esi + 0x10], ecx
lea ebx, [esi + 0x60]
mov eax, dword [edi]
test eax, eax
jne 0x56d5e5
xor ebx, ebx
jmp 0x56d60a
cmp byte [eax], 0
jne 0x56d5f1
mov ebx, 0x595304
jmp 0x56d60a
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x40], ebx
mov eax, dword [edi + 4]
cmp dword [esi + 0x14], eax
je 0x56d657
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
jne 0x56d632
xor ebx, ebx
jmp 0x56d651
cmp byte [eax], 0
jne 0x56d63e
mov ebx, 0x595304
jmp 0x56d651
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x44], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
cmp dword [esi + 0x1c], eax
je 0x56d6b3
mov dword [esi + 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x56d6a9
lea edx, [esi + 0x68]
xor ecx, ecx
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
test al, al
je 0x56d69d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x56d685
xor eax, eax
mov word [esi + ecx*2 + 0x68], ax
jmp 0x56d6b3
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x20], eax
je 0x56d6fe
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x56d6d5
xor ebx, ebx
jmp 0x56d6f8
cmp byte [eax], 0
jne 0x56d6e1
mov ebx, 0x595304
jmp 0x56d6f8
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x4c], ebx
mov eax, dword [edi + 0x14]
cmp dword [esi + 0x24], eax
je 0x56d749
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x170]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x56d720
xor ebx, ebx
jmp 0x56d743
cmp byte [eax], 0
jne 0x56d72c
mov ebx, 0x595304
jmp 0x56d743
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x50], ebx
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x28], eax
je 0x56d794
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x270]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x56d76b
xor ebx, ebx
jmp 0x56d78e
cmp byte [eax], 0
jne 0x56d777
mov ebx, 0x595304
jmp 0x56d78e
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x54], ebx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x20]
cmp dword [esi + 0x30], eax
je 0x56d7e8
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x370]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x56d7bf
xor ebx, ebx
jmp 0x56d7e2
cmp byte [eax], 0
jne 0x56d7cb
mov ebx, 0x595304
jmp 0x56d7e2
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x58], ebx
mov eax, dword [edi + 0x24]
cmp dword [esi + 0x34], eax
je 0x56d833
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x470]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x56d80a
xor ebx, ebx
jmp 0x56d82d
cmp byte [eax], 0
jne 0x56d816
mov ebx, 0x595304
jmp 0x56d82d
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x5c], ebx
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x38], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x39], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x3a], al
lea eax, [esi + 0x10]
movzx ecx, byte [edi + 0x2b]
mov byte [esi + 0x3b], cl
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x3c], cl
movzx ecx, byte [edi + 0x2d]
mov byte [esi + 0x3d], cl
movzx ecx, byte [edi + 0x2e]
mov byte [esi + 0x3e], cl
movzx ecx, byte [edi + 0x2f]
mov byte [esi + 0x3f], cl
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret