Function at 0x4152d3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x44a1ac]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x44a1ac]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xf
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov esi, 0x43e85c
push esi
mov dword [esp + 0x1e4], ebx
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.00403cd9
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c8], 0x202e2d2c
mov word [esp + 0x1cc], 0x2f
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e4], 1
call fcn.0040256d
mov word [esp + 0x84], bx
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], bl
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1e0], 3
cmp dword [ecx + 0x14], 0x10
jb 0x4153cd
mov eax, dword [ecx]
jmp 0x4153cf
mov eax, ecx
mov dword [esp + 0x104], eax
lea eax, [esp + 0x108]
push eax
call fcn.004064a2
lea eax, [esp + 0x10c]
push eax
lea edi, [esp + 0x50]
call fcn.00415a83
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x1e4], 4
call fcn.00415cc3
mov byte [esp + 0x1e0], 5
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x158]
call fcn.00415d28
mov cl, byte [eax + 0x4c]
xor edi, edi
inc edi
or dword [esp + 0x14], edi
cmp cl, bl
je 0x41545d
cmp byte [esp + 0xe0], bl
je 0x41545d
mov ecx, dword [eax + 0x44]
cmp ecx, dword [esp + 0xd8]
jne 0x41546d
mov eax, dword [eax + 0x48]
cmp eax, dword [esp + 0xdc]
je 0x415478
jmp 0x41546d
xor eax, eax
cmp cl, byte [esp + 0xe0]
sete al
cmp al, bl
jne 0x415478
mov byte [esp + 0x13], 1
cmp esi, dword [esp + 0x40]
jb 0x41547c
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 1
je 0x4154a2
and dword [esp + 0x14], 0xfffffffe
push ebx
push edi
lea ecx, [esp + 0x1ac]
call fcn.00403768
lea esi, [esp + 0x154]
call fcn.00415855
cmp byte [esp + 0x13], bl
je 0x415555
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jbe 0x41554a
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x4154c9
lea eax, [esp + 0x30]
mov al, byte [eax + esi]
cmp al, 0x64
je 0x415504
cmp al, 0x6d
je 0x4154ed
cmp al, 0x79
jne 0x415517
lea ecx, [esp + 0xe4]
call fcn.00416035
movzx eax, ax
mov dword [esp + 0x24], eax
jmp 0x415517
lea eax, [esp + 0xe4]
push eax
call fcn.004160ca
movzx eax, ax
pop ecx
mov dword [esp + 0x20], eax
jmp 0x415517
lea ecx, [esp + 0xe4]
call fcn.00416035
movzx eax, ax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0xe0]
lea eax, [esp + 0xe0]
lea edi, [esp + 0x9c]
call fcn.0041626e
inc esi
mov byte [esp + 0xe0], al
mov dword [esp + 0x2c], esi
jmp 0x415418
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
push ebx
push edi
lea ecx, [esp + 0xec]
mov byte [esp + 0x1e8], 4
call fcn.00403768
lea esi, [esp + 0x94]
call fcn.00415855
push ecx
mov ecx, edi
mov eax, esp
mov word [eax], cx
mov ecx, dword [esp + 0x2c]
movzx edx, cx
inc edx
mov dword [esp + 0x1c], esp
cmp edx, 2
jge 0x415595
call fcn.004150c1
cmp cx, 0x1f
ja 0x415590
push ecx
mov word [eax], cx
mov ecx, esp
mov dword [esp + 0x20], esp
push dword [esp + 0x28]
mov eax, edi
mov word [ecx], ax
call fcn.00414fca
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
mov dword [esp + 0x24], esp
call fcn.0041374b
push dword [esp + 0x28]
call fcn.004137df
lea esi, [esp + 0x10c]
call fcn.00415855
lea esi, [esp + 0x4c]
call fcn.00415855
push ebx
push edi
lea ecx, [esp + 0x38]
call fcn.00403768
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0041d3a4
mov esp, ebp
pop ebp
ret