Function at 0x441800
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8940
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5603e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 1
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x84], eax
push edx
lea eax, [ebp - 0x94]
mov dword [ebp - 0x88], ecx
push eax
add ecx, 0x30
call fcn.00441510
mov ecx, eax
call fcn.00441530
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
jne 0x44186b
xor edi, edi
jmp 0x44186d
mov edi, dword [ecx]
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp edx, eax
ja 0x441881
sub eax, edx
mov edx, dword [edi + 4]
mov eax, dword [edx + eax*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
dec eax
je 0x441ade
sub eax, 2
je 0x4419f4
dec eax
jne 0x441b68
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
lea edx, [eax + 2]
jmp 0x4418c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4418c0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00405660
mov edx, dword [ebp - 0x54]
push 3
push 0x4d3b50
push edx
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.004089e0
test eax, eax
mov edi, 8
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], edi
jb 0x441916
mov eax, dword [ebp - 0x64]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
test bl, bl
je 0x441964
mov esi, dword [ebp - 0x84]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441940
mov ecx, dword [ebp - 0x88]
sub eax, edx
sar eax, 1
push eax
push esi
add ecx, 0x64
call fcn.00405660
jmp 0x441b68
push esi
lea ecx, [ebp - 0x80]
call fcn.00405cd0
mov edx, dword [eax + 0x10]
push 6
push str.target
push edx
push 0
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.004089e0
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x6c], edi
jb 0x4419a5
mov eax, dword [ebp - 0x80]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], cx
test bl, bl
je 0x441b68
mov esi, dword [ebp - 0x84]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4419d0
mov ecx, dword [ebp - 0x88]
sub eax, edx
sar eax, 1
push eax
push esi
sub ecx, 0xffffff80
call fcn.00405660
jmp 0x441b68
xor edx, edx
mov eax, esi
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x441a10
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00405660
mov eax, dword [ebp - 0x38]
push 4
push str.path
push eax
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call fcn.004089e0
test eax, eax
mov edi, 8
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], edi
jb 0x441a66
mov ecx, dword [ebp - 0x48]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
test bl, bl
je 0x441b68
mov edx, dword [ebp - 0x84]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441a90
mov ebx, dword [ebp - 0x88]
sub eax, esi
sar eax, 1
push eax
lea esi, [ebx + 0x48]
push edx
mov ecx, esi
call fcn.00405660
mov ebx, dword [ebx + 0x58]
cmp dword [esi + 0x14], edi
jb 0x441abd
mov eax, dword [esi]
jmp 0x441abf
mov eax, esi
cmp word [eax + ebx*2 - 2], 0x5c
je 0x441b68
push 1
push 0x4c7780
mov ecx, esi
call fcn.00409380
jmp 0x441b68
xor eax, eax
mov word [ebp - 0x2c], ax
mov edi, 7
mov eax, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x441af4
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405660
mov ecx, dword [ebp - 0x1c]
push 2
push 0x4d3b2c
push ecx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004089e0
test eax, eax
sete bl
cmp dword [ebp - 0x18], 8
jb 0x441b3b
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
test bl, bl
je 0x441b68
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.MSVCR100.dll__wtoi]
mov edx, dword [ebp - 0x88]
add esp, 4
mov dword [edx + 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b12f6
mov esp, ebp
pop ebp
ret 0xc