Function at 0x40e5b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x440538
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebp
mov byte [esp + 0x14], 0
push 0x7b
lea eax, [esp + 0x30]
push str.___2X
push eax
mov dword [esp + 0x54], ebp
call fcn.0042ca3d
lea eax, [esp + 0x38]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e615
sub eax, ecx
push eax
lea ecx, [esi + 0x20]
lea edx, [esp + 0x30]
push edx
mov eax, ecx
call fcn.00409720
cmp dword [esp + 0x28], 1
mov bl, byte [edi]
jae 0x40e647
mov eax, dword [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.0040a290
mov eax, dword [esp + 0x14]
mov ecx, 0x10
cmp dword [esp + 0x28], ecx
jae 0x40e65a
lea eax, [esp + 0x14]
mov byte [eax], bl
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 1
cmp dword [esp + 0x28], ecx
jae 0x40e672
lea eax, [esp + 0x14]
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ecx
jae 0x40e684
lea eax, [esp + 0x14]
push 0x2c
push 0x445edc
mov ecx, esi
call fcn.0040e840
mov eax, 0x445ee0
cmp dword [edi + 4], ebp
jne 0x40e6a1
mov eax, str.FOLDER
push 0x2c
push 0x445ef0
mov ecx, esi
call fcn.0040e840
mov ebp, 0x10
cmp dword [edi + 0x20], ebp
jb 0x40e6be
mov eax, dword [edi + 0xc]
jmp 0x40e6c1
lea eax, [edi + 0xc]
push 0x2c
push 0x445ef8
mov ecx, esi
call fcn.0040e840
cmp byte [edi], 0x4d
jne 0x40e6ef
cmp dword [edi + 0x3c], ebp
jb 0x40e6de
mov eax, dword [edi + 0x28]
jmp 0x40e6e1
lea eax, [edi + 0x28]
push 0x2c
push 0x445f00
mov ecx, esi
call fcn.0040e840
xor ecx, ecx
cmp ecx, 0x445f0c
je 0x40e726
push 3
lea ebx, [esi + 0x20]
push 0x445f28
mov eax, ebx
call fcn.00409720
push 7
push 0x445f0c
mov eax, ebx
call fcn.00409720
push 6
push str._22_3A
mov eax, ebx
call fcn.00409720
push 0x7b
lea edx, [esp + 0x30]
push str.___2X
push edx
call fcn.0042ca3d
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e741
sub eax, edx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 0x20]
call fcn.00409720
mov al, byte [edi]
cmp al, 0x4d
je 0x40e7af
cmp al, 0x44
je 0x40e7af
cmp dword [edi + 0x78], ebp
jb 0x40e76c
mov eax, dword [edi + 0x64]
jmp 0x40e76f
lea eax, [edi + 0x64]
push 0x2c
push 0x445f14
mov ecx, esi
call fcn.0040e840
mov ecx, dword [edi + 0x40]
push 0x2c
mov ebx, 0x445f18
mov edx, esi
call fcn.0040e8c0
cmp dword [edi + 4], 0
je 0x40e7af
cmp dword [edi + 0x5c], ebp
jb 0x40e79e
mov eax, dword [edi + 0x48]
jmp 0x40e7a1
lea eax, [edi + 0x48]
push 0x2c
push 0x445f20
mov ecx, esi
call fcn.0040e840
cmp dword [edi + 0x94], ebp
jb 0x40e7bf
mov eax, dword [edi + 0x80]
jmp 0x40e7c5
lea eax, [edi + 0x80]
push 0x7d
push 0x445f24
mov ecx, esi
call fcn.0040e840
push 0x7d
lea ecx, [esp + 0x30]
push str.___2X
push ecx
call fcn.0042ca3d
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e7f0
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 0x20]
call fcn.00409720
push 0x5d
call fcn.0040e960
cmp dword [esp + 0x28], ebp
jb 0x40e821
mov eax, dword [esp + 0x14]
push eax
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042bb57
add esp, 0x3c
ret