Function at 0x77472c9f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x7753d344]
xor eax, esp
mov dword [esp + 0x60], eax
and dword [esp + 0x48], 0
push ebx
push esi
mov esi, edx
mov edx, ecx
push edi
push 6
pop ecx
mov eax, dword [esi + 0xc8]
lea edi, [esp + 0x20]
mov ebx, dword [edx + 0x48]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
rep stosd dword es:[edi], eax
cmp ebx, 2
je 0x774bb833
or edi, 0xffffffff
mov ebx, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
cmp byte [esi + 0x4c], al
je 0x77472db7
mov al, byte [esi + 0x4d]
mov byte [esp + 0xf], 1
cmp byte [esp + 0x35], al
ja 0x77472d16
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, dword [esi + 0x40]
or ecx, dword [esi + 0x44]
mov edi, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
cmp byte [esi + 0xc4], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x774bb85b
cmp byte [esp + 0xf], 0
je 0x77472dcc
mov dword [esp + 0x4c], 1
xor ecx, ecx
cmp dword [edx + 0x74], ecx
ja 0x774bb8b3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x48], edx
test edx, edx
je 0x77472da3
push dword [esi + 0x20]
push dword [esp + 0x58]
push ebx
push edi
push ecx
push eax
push dword [esp + 0x4d]
mov eax, dword [esp + 0x6c]
mov ecx, edx
push dword [esp + 0x68]
add eax, 0x38
push eax
call dword [0x775391d0]
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.77494a40
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x28]
jmp 0x77472d3a
and dword [esp + 0x4c], 0
xor ebx, ebx
xor edi, edi
and dword [edx + 0x74], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jmp 0x77472d5e
mov al, byte [edx + 0x4c]
mov edi, dword [edx + 0x60]
mov ebx, dword [edx + 0x64]
mov byte [esp + 0x35], al
mov eax, dword [edx + 0x58]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
jmp 0x77472dd8
mov dl, byte [esi + 0xc5]
cmp byte [esp + 0x35], dl
mov edx, dword [esp + 0x50]
mov byte [esp + 0xf], 1
ja 0x774bb87e
mov dl, byte [esi + 0xc5]
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x50]
or eax, dword [esi + 0xb8]
or ecx, dword [esi + 0xbc]
and edi, dword [esi + 0xb0]
and ebx, dword [esi + 0xb4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
jmp 0x77472d4f
lea eax, [edx + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x44], eax
shr eax, 0x1f
test al, al
je 0x774bb8ea
cmp dword [esp + 0x44], 0x80000000
je 0x774bb8ea
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp ecx, dword [edx + 0x74]
jb 0x774bb8bd
jmp 0x77472d69
shl ecx, 4
xor eax, eax
mov esi, edx
add esi, dword [ecx + edx + 0x78]
mov dword [esp + 0x44], esi
adc eax, dword [ecx + edx + 0x7c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + edx + 0x80]
mov ecx, dword [ecx + edx + 0x84]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], eax
mov ax, word [edx + 0x4e]
shr ax, 0xf
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
test al, al
je 0x77472d69
cmp ecx, 0x80000000
jne 0x77472d69
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 0x10], eax
xor ecx, ecx
lea eax, [esi + 0x66]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
cmp byte [eax - 2], 0
je 0x774bb985
movzx ecx, word [edx + 0x4e]
movzx eax, byte [eax]
and ecx, 0xffff7fff
cmp eax, ecx
mov ecx, dword [esp + 0x1c]
je 0x774bb998
mov eax, dword [esp + 0x40]
inc ecx
add eax, 0x18
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
cmp ecx, 4
jb 0x774bb966
jmp 0x774bb9af
xor eax, eax
add ecx, 0x20
inc eax
xor edx, edx
call fcn.774964f0
mov ecx, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
cmp dword [esp + 0x48], 0
je 0x77472d69
mov ebx, dword [esp + 0x48]
lea edi, [ebx + 0x1c]
push edi
call fcn.77466460
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x774bb9ee
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call fcn.77461440
mov eax, dword [esp + 0x60]
add eax, 0x10
push eax
mov eax, dword fs:[0x30]
push 8
push dword [eax + 0x18]
call fcn.77463940
mov dword [ebx + 0x94], eax
test eax, eax
je 0x774bba4b
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x94]
mov eax, dword [esp + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0x94]
lea eax, [ecx + 0x10]
mov dword [ecx], eax
and dword [ecx + 4], 0
push dword [esp + 0x60]
mov eax, dword [ebx + 0x94]
push dword [esp + 0x5c]
push dword [eax]
call fcn.774987e0
add esp, 0xc
and dword [ebx + 0x20], 0
push edi
call fcn.77468f20
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x77472d71