Function at 0x52d300
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4e8c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6340c4]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
push 0xb8
mov dword [ebp - 0x34], 0
call fcn.004c59e9
mov ebx, eax
xor ecx, ecx
add esp, 4
mov word [ebx + 4], cx
mov dword [ebx + 0x2c], ecx
mov word [ebx + 0x1c], cx
mov dword [ebx + 0x44], ecx
mov word [ebx + 0x34], cx
mov dword [ebx + 0x5c], ecx
mov word [ebx + 0x4c], cx
mov dword [ebx + 0x74], ecx
mov word [ebx + 0x64], cx
mov dword [ebx + 0x8c], ecx
mov word [ebx + 0x7c], cx
mov dword [ebx + 0xa4], ecx
mov word [ebx + 0x94], cx
mov dword [ebx + 0xac], ecx
mov dword [ebx + 0xb0], ecx
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x30], 7
mov dword [ebx + 0x48], 7
mov dword [ebx + 0x60], 7
mov dword [ebx + 0x78], 7
mov dword [ebx + 0x90], 7
mov dword [ebx + 0xa8], 7
mov dword [ebx], ecx
mov eax, dword [edi]
push ebx
mov esi, dword [eax]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
je 0x52d41d
mov ecx, ebx
call fcn.00486230
push 0xb8
push ebx
call fcn.004c5d7f
add esp, 8
or esi, 0xffffffff
jmp 0x52dafd
mov eax, dword [ebx]
test al, 1
je 0x52d79f
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x52d462
cmp eax, 0x7fffffff
ja 0x52db5e
push eax
lea ecx, [ebp - 0x48]
call fcn.00487130
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 4]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d4cd
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d4cd
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d4cf
xor esi, esi
push esi
lea ecx, [ebx + 4]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 8]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d57b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d57b
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d57d
xor esi, esi
push esi
lea ecx, [ebx + 0x1c]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0xc]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d629
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d629
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d62b
xor esi, esi
push esi
lea ecx, [ebx + 0x34]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0x10]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d6d7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d6d7
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d6d9
xor esi, esi
push esi
lea ecx, [ebx + 0x4c]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0x14]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d785
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d785
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d787
xor esi, esi
push esi
lea ecx, [ebx + 0x64]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebx]
test al, 2
je 0x52d910
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0x18]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52d8a1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d83d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d83d
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d83f
xor esi, esi
push esi
lea ecx, [ebx + 0x7c]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [edi]
mov dword [ebp - 0x34], 0
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52d8a1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
call fcn.00486490
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0x1c]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], eax
push ecx
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
je 0x52d8b1
push ecx
mov ecx, ebx
call fcn.004861d0
or esi, 0xffffffff
jmp 0x52dafd
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52d8f3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x3c], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52d8f3
push dword [ebp - 0x3c]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52d8f5
xor esi, esi
push esi
lea ecx, [ebx + 0x94]
call fcn.00444e70
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebx]
test al, 4
je 0x52daf3
mov eax, dword [edi]
mov dword [ebp - 0x38], 0
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x38], ecx
jbe 0x52daf3
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52db36
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52db36
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x4c]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
cmp eax, 0xfffffffd
jne 0x52db36
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
jbe 0x52d9eb
cmp ecx, 0x7fffffff
ja 0x52db5e
push ecx
lea ecx, [ebp - 0x48]
call fcn.00487130
mov eax, dword [edi]
mov ecx, dword [ebp - 0x48]
mov esi, dword [eax + 0x2c]
call fcn.00446aa0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push ecx
push eax
push dword [ebp - 0x4c]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
test eax, eax
jne 0x52db36
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x52da59
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x50], eax
add eax, eax
call fcn.004c6740
mov esi, esp
test esi, esi
je 0x52da59
push dword [ebp - 0x50]
xor eax, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
mov word [esi], ax
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x52da5b
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52da60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004459d0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov ecx, dword [ebx + 0xb0]
mov dword [ebp - 0x44], eax
cmp ecx, dword [ebx + 0xb4]
je 0x52dab4
mov eax, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x28]
add ecx, 8
push eax
call fcn.0044a700
add dword [ebx + 0xb0], 0x20
jmp 0x52dac4
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebx + 0xac]
call fcn.00489140
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52dae3
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
mov ecx, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [ebp - 0x38]
jb 0x52d950
push ebx
push 6
call fcn.0052b190
xor esi, esi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x52db13
mov ecx, dword [ebp - 0x40]
sub ecx, eax
push ecx
push eax
call fcn.00446620
add esp, 8
mov eax, esi
lea esp, [ebp - 0x60]
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.004c59c5
mov esp, ebp
pop ebp
ret 4
push ecx
mov ecx, ebx
call fcn.004861d0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52db59
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
or esi, 0xffffffff
jmp 0x52dafd
call fcn.004466d0
int3