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

Disassembly:
push 0xffffffffffffffff
push 0x10180e91
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1ac]
mov ebp, ecx
push 0xffffffffffffffff
push 0
lea esi, [ebp + 0x334]
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x10040f39
mov eax, dword [esp + 0x1c]
push eax
call fcn.10158c57
add esp, 4
lea ecx, [ebp + 0x50]
push esi
call fcn.100f6eea
mov ecx, dword [esp + 0x1b0]
mov dword [ebp + 0x15e8], ecx
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x10040f60
call fcn.10158fad
lea esp, [esp]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x10040f6d
call fcn.10158fad
cmp esi, edi
je 0x100413b6
cmp esi, dword [ebx + 8]
jb 0x10040f7f
call fcn.10158fad
cmp dword [esi + 0x60], 2
jne 0x10041027
cmp esi, dword [ebx + 8]
jb 0x10040fa7
call fcn.10158fad
cmp esi, dword [ebx + 8]
jb 0x10040fa7
call fcn.10158fad
cmp esi, dword [ebx + 8]
jb 0x10040fa7
call fcn.10158fad
mov edx, dword [esi + 0x24]
movzx eax, byte [esi + 0x1c]
push edx
push eax
push esi
lea ecx, [esp + 0x110]
call fcn.1003c210
cmp esi, dword [ebx + 8]
mov dword [esp + 0x1a4], 0
jb 0x10040fd2
call fcn.10158fad
lea ecx, [esi + 0x28]
push ecx
lea edx, [esp + 0x178]
push edx
mov ecx, ebp
call fcn.1003ba50
cmp esi, dword [ebx + 8]
jb 0x10040fef
call fcn.10158fad
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x44]
push eax
lea ecx, [esp + 0x12c]
call fcn.10005490
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [ebp + 0x13c]
call fcn.1003cc40
lea ecx, [esp + 0x104]
jmp 0x1004133f
cmp byte [ebp + 0x16b4], 0
je 0x10041044
cmp esi, dword [ebx + 8]
jb 0x1004103a
call fcn.10158fad
cmp byte [esi + 0x1c], 0
je 0x1004134f
cmp esi, dword [ebx + 8]
jb 0x10041062
call fcn.10158fad
cmp esi, dword [ebx + 8]
jb 0x10041062
call fcn.10158fad
cmp esi, dword [ebx + 8]
jb 0x10041062
call fcn.10158fad
movzx ecx, byte [esi + 0x1c]
mov eax, dword [esi + 0x24]
push eax
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.1003c210
cmp esi, dword [ebx + 8]
mov dword [esp + 0x1a4], 1
jb 0x1004108a
call fcn.10158fad
lea edx, [esi + 0x28]
push edx
lea eax, [esp + 0xe4]
push eax
mov ecx, ebp
call fcn.1003ba50
cmp esi, dword [ebx + 8]
jb 0x100410a7
call fcn.10158fad
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esp + 0x98]
call fcn.10005490
lea edx, [esp + 0x70]
push edx
lea ecx, [ebp + 0x50]
call fcn.100f6eea
test al, al
je 0x10041361
lea ecx, [ebp + 0x88]
call fcn.100f54a2
cmp eax, 0x40
jb 0x10041167
lea eax, [ebp + 0x24]
lea edi, [eax + 4]
push edi
mov dword [esp + 0x44], 0x10199608
mov dword [esp + 0x48], eax
call dword [0x10199070]
lea eax, [esp + 0x70]
push eax
lea ecx, [ebp + 0x40]
mov byte [esp + 0x1a8], 2
call fcn.10040e00
cmp esi, dword [ebx + 8]
jb 0x1004111c
call fcn.10158fad
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x10041153
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10158c57
add esp, 4
push edi
call dword [0x10199074]
mov dword [esp + 0x40], 0x101995f4
jmp 0x1004133b
mov eax, dword [ebp + 0x134]
mov eax, dword [eax]
add ebp, 0x130
mov ebx, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
nop
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x134]
add eax, 0x130
test ebp, ebp
je 0x10041197
cmp ebp, eax
je 0x1004119c
call fcn.10158fad
cmp ebx, edi
je 0x100412b3
test ebp, ebp
jne 0x100411ad
call fcn.10158fad
cmp ebx, dword [ebp + 4]
jne 0x100411b7
call fcn.10158fad
push 0xffffffffffffffff
push 0
lea edi, [ebx + 0xc]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x100411f1
mov edx, dword [esp + 0x1c]
push edx
call fcn.10158c57
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x1004122c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10158c57
add esp, 4
cmp ebx, dword [ebp + 4]
jne 0x10041236
call fcn.10158fad
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x10041248
lea eax, [esp + 0x74]
mov edx, dword [esp + 0x84]
push edx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.1002a270
test eax, eax
je 0x10041278
lea ecx, [esp + 0x38]
call fcn.10035320
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x10041180
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x100412b3
mov edx, dword [esp + 0x1c]
push edx
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x134]
add eax, 0x130
test ebp, ebp
je 0x100412ca
cmp ebp, eax
je 0x100412cf
call fcn.10158fad
cmp ebx, edi
jne 0x10041333
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1cc]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [eax + 0x88]
call fcn.100f6c04
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 8]
jb 0x100412fc
call fcn.10158fad
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.10005490
cmp dword [esp + 0x30], 0x10
jb 0x10041333
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10158c57
add esp, 4
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x70]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.10019f90
cmp esi, dword [ebx + 8]
jb 0x10041359
call fcn.10158fad
add esi, 0x64
jmp 0x10040f60
cmp esi, dword [ebx + 8]
jb 0x1004136b
call fcn.10158fad
push 0xffffffffffffffff
push 0
mov edi, 0xf
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.10005490
cmp dword [esp + 0x60], 0x10
jb 0x100413a3
mov edx, dword [esp + 0x4c]
push edx
call fcn.10158c57
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
jmp 0x1004133b
lea ecx, [ebp + 0x88]
call fcn.100f54a2
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.101593ee
add esp, 0x194
ret 8