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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5b9598]
test eax, eax
jne 0x56ba8a
push 0x592b70
call fcn.0056e3d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x56ba85
or eax, 0xffffffff
mov dword [0x5b9598], 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 0x56bab5
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x5b8ec0]
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 0x56bb20
mov dword [esi + 0x10], ecx
lea ebx, [esi + 0x60]
mov eax, dword [edi]
test eax, eax
jne 0x56baf5
xor ebx, ebx
jmp 0x56bb1a
cmp byte [eax], 0
jne 0x56bb01
mov ebx, 0x592f34
jmp 0x56bb1a
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 0x56bb67
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
jne 0x56bb42
xor ebx, ebx
jmp 0x56bb61
cmp byte [eax], 0
jne 0x56bb4e
mov ebx, 0x592f34
jmp 0x56bb61
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 0x56bbc3
mov dword [esi + 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x56bbb9
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 0x56bbad
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x56bb95
xor eax, eax
mov word [esi + ecx*2 + 0x68], ax
jmp 0x56bbc3
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x20], eax
je 0x56bc0e
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x56bbe5
xor ebx, ebx
jmp 0x56bc08
cmp byte [eax], 0
jne 0x56bbf1
mov ebx, 0x592f34
jmp 0x56bc08
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 0x56bc59
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x170]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x56bc30
xor ebx, ebx
jmp 0x56bc53
cmp byte [eax], 0
jne 0x56bc3c
mov ebx, 0x592f34
jmp 0x56bc53
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 0x56bca4
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x270]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x56bc7b
xor ebx, ebx
jmp 0x56bc9e
cmp byte [eax], 0
jne 0x56bc87
mov ebx, 0x592f34
jmp 0x56bc9e
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 0x56bcf8
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x370]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x56bccf
xor ebx, ebx
jmp 0x56bcf2
cmp byte [eax], 0
jne 0x56bcdb
mov ebx, 0x592f34
jmp 0x56bcf2
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 0x56bd43
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x470]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x56bd1a
xor ebx, ebx
jmp 0x56bd3d
cmp byte [eax], 0
jne 0x56bd26
mov ebx, 0x592f34
jmp 0x56bd3d
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