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

Disassembly:
push 0xffffffffffffffff
push 0x1017f4e1
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042899
mov eax, dword [esp + 0x1c]
push eax
call fcn.10157f3b
add esp, 4
lea ecx, [ebp + 0x50]
push esi
call fcn.100fd509
mov ecx, dword [esp + 0x1b0]
mov dword [ebp + 0x15e8], ecx
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x100428c0
call fcn.1015828d
lea esp, [esp]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x100428cd
call fcn.1015828d
cmp esi, edi
je 0x10042d16
cmp esi, dword [ebx + 8]
jb 0x100428df
call fcn.1015828d
cmp dword [esi + 0x60], 2
jne 0x10042987
cmp esi, dword [ebx + 8]
jb 0x10042907
call fcn.1015828d
cmp esi, dword [ebx + 8]
jb 0x10042907
call fcn.1015828d
cmp esi, dword [ebx + 8]
jb 0x10042907
call fcn.1015828d
mov edx, dword [esi + 0x24]
movzx eax, byte [esi + 0x1c]
push edx
push eax
push esi
lea ecx, [esp + 0x110]
call fcn.1003dc10
cmp esi, dword [ebx + 8]
mov dword [esp + 0x1a4], 0
jb 0x10042932
call fcn.1015828d
lea ecx, [esi + 0x28]
push ecx
lea edx, [esp + 0x178]
push edx
mov ecx, ebp
call fcn.1003d450
cmp esi, dword [ebx + 8]
jb 0x1004294f
call fcn.1015828d
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x44]
push eax
lea ecx, [esp + 0x12c]
call fcn.10001a10
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [ebp + 0x13c]
call fcn.1003e640
lea ecx, [esp + 0x104]
jmp 0x10042c9f
cmp byte [ebp + 0x1684], 0
je 0x100429a4
cmp esi, dword [ebx + 8]
jb 0x1004299a
call fcn.1015828d
cmp byte [esi + 0x1c], 0
je 0x10042caf
cmp esi, dword [ebx + 8]
jb 0x100429c2
call fcn.1015828d
cmp esi, dword [ebx + 8]
jb 0x100429c2
call fcn.1015828d
cmp esi, dword [ebx + 8]
jb 0x100429c2
call fcn.1015828d
movzx ecx, byte [esi + 0x1c]
mov eax, dword [esi + 0x24]
push eax
push ecx
push esi
lea ecx, [esp + 0x7c]
call fcn.1003dc10
cmp esi, dword [ebx + 8]
mov dword [esp + 0x1a4], 1
jb 0x100429ea
call fcn.1015828d
lea edx, [esi + 0x28]
push edx
lea eax, [esp + 0xe4]
push eax
mov ecx, ebp
call fcn.1003d450
cmp esi, dword [ebx + 8]
jb 0x10042a07
call fcn.1015828d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esp + 0x98]
call fcn.10001a10
lea edx, [esp + 0x70]
push edx
lea ecx, [ebp + 0x50]
call fcn.100fd509
test al, al
je 0x10042cc1
lea ecx, [ebp + 0x88]
call fcn.100fba9f
cmp eax, 0x40
jb 0x10042ac7
lea eax, [ebp + 0x24]
lea edi, [eax + 4]
push edi
mov dword [esp + 0x44], 0x101975f4
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x70]
push eax
lea ecx, [ebp + 0x40]
mov byte [esp + 0x1a8], 2
call fcn.10042760
cmp esi, dword [ebx + 8]
jb 0x10042a7c
call fcn.1015828d
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042ab3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10157f3b
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x40], 0x101975e0
jmp 0x10042c9b
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 0x10042af7
cmp ebp, eax
je 0x10042afc
call fcn.1015828d
cmp ebx, edi
je 0x10042c13
test ebp, ebp
jne 0x10042b0d
call fcn.1015828d
cmp ebx, dword [ebp + 4]
jne 0x10042b17
call fcn.1015828d
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042b51
mov edx, dword [esp + 0x1c]
push edx
call fcn.10157f3b
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042b8c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10157f3b
add esp, 4
cmp ebx, dword [ebp + 4]
jne 0x10042b96
call fcn.1015828d
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x10042ba8
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.1002c420
test eax, eax
je 0x10042bd8
lea ecx, [esp + 0x38]
call fcn.10036d80
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
jmp 0x10042ae0
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042c13
mov edx, dword [esp + 0x1c]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x134]
add eax, 0x130
test ebp, ebp
je 0x10042c2a
cmp ebp, eax
je 0x10042c2f
call fcn.1015828d
cmp ebx, edi
jne 0x10042c93
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1cc]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [eax + 0x88]
call fcn.100fd201
mov eax, dword [esp + 0x34]
cmp esi, dword [eax + 8]
jb 0x10042c5c
call fcn.1015828d
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.10001a10
cmp dword [esp + 0x30], 0x10
jb 0x10042c93
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10157f3b
add esp, 4
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x70]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.1001bf10
cmp esi, dword [ebx + 8]
jb 0x10042cb9
call fcn.1015828d
add esi, 0x64
jmp 0x100428c0
cmp esi, dword [ebx + 8]
jb 0x10042ccb
call fcn.1015828d
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.10001a10
cmp dword [esp + 0x60], 0x10
jb 0x10042d03
mov edx, dword [esp + 0x4c]
push edx
call fcn.10157f3b
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
jmp 0x10042c9b
lea ecx, [ebp + 0x88]
call fcn.100fba9f
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.101586e7
add esp, 0x194
ret 8