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

Disassembly:
push eax
xor eax, 0x13451
xor eax, 0x24f7
pop eax
mov edx, dword [ebp - 0x780]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x790], 0
mov ecx, dword [ebp - 0x358]
mov dword [ebp - 0x160c], ecx
cmp dword [ebp - 0x160c], 0
jne 0x4054ad
mov edx, dword [ebp - 0x790]
mov dword [ebp - 0x3d4], edx
jmp 0x40579e
mov eax, dword [ebp - 0x160c]
mov ecx, dword [ebp - 0x358]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1610], ecx
jne 0x4054d5
mov edx, dword [ebp - 0x790]
mov dword [ebp - 0x3d4], edx
jmp 0x40579e
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1610]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x1614], eax
cmp dword [ebp - 0x1614], 0
jne 0x405507
mov ecx, dword [ebp - 0x790]
mov dword [ebp - 0x3d4], ecx
jmp 0x40579e
mov edx, dword [ebp - 0x358]
add edx, dword [ebp - 0x1614]
mov dword [ebp - 0x784], edx
jne 0x40552c
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x3d4], eax
jmp 0x40579e
mov ecx, dword [ebp - 0x784]
mov edx, dword [ebp - 0x358]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x1d28], edx
mov eax, dword [ebp - 0x784]
mov ecx, dword [ebp - 0x358]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x1d2c], ecx
mov edx, dword [ebp - 0x784]
mov eax, dword [ebp - 0x358]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1d30], eax
mov dword [ebp - 0x788], 0
jmp 0x405586
mov ecx, dword [ebp - 0x788]
add ecx, 1
mov dword [ebp - 0x788], ecx
mov edx, dword [ebp - 0x784]
mov eax, dword [ebp - 0x788]
cmp eax, dword [edx + 0x18]
jae 0x405792
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x1d28]
mov eax, dword [ebp - 0x358]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x78c], eax
mov ecx, dword [ebp - 0x788]
mov edx, dword [ebp - 0x1d2c]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1d30]
mov edx, dword [ebp - 0x358]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x1d34], edx
mov dword [ebp - 0x160], 0
jmp 0x4055f6
mov eax, dword [ebp - 0x160]
add eax, 1
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x78c]
add ecx, dword [ebp - 0x160]
movsx edx, byte [ecx]
test edx, edx
je 0x4056a8
mov eax, dword [ebp - 0x160]
movsx ecx, byte [ebp + eax - 0x8b4]
test ecx, ecx
je 0x4056a8
push ecx
jmp 0x40562b
add ecx, 0x1575
call 0x405641
add byte [eax + ecx*2], dh
cmp esi, dword [0x4335394c]
cmp dword [eax], edi
add esp, 4
pop ecx
push edi
and edi, 0xddb
pop edi
push ebx
or ebx, 0x145cc
pop ebx
mov edx, dword [ebp - 0x78c]
add edx, dword [ebp - 0x160]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x160]
movsx edx, byte [ebp + ecx - 0x8b4]
cmp eax, edx
je 0x40569a
mov eax, dword [ebp - 0x78c]
add eax, dword [ebp - 0x160]
movsx ecx, byte [eax]
xor ecx, 0x20
mov edx, dword [ebp - 0x160]
movsx eax, byte [ebp + edx - 0x8b4]
cmp ecx, eax
jne 0x4056a1
jmp 0x4055e7
jmp 0x4056a8
push ebx
add ebx, 0x12224
pop ebx
push edx
push esi
add esp, 4
add edx, 0xa4bb
pop edx
push ecx
push esi
add esp, 4
add ecx, 0x2dfe
sub ecx, 0x746
xor ecx, 0xfb9b
and ecx, 0x66f1
pop ecx
mov ecx, dword [ebp - 0x78c]
add ecx, dword [ebp - 0x160]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x160]
movsx ecx, byte [ebp + eax - 0x8b4]
cmp edx, ecx
jne 0x405707
mov dword [ebp - 0xce4], 0
jmp 0x405776
push esi
push ebx
add esp, 4
sub esi, 0x13c90
pop esi
push esi
push ebx
add esp, 4
xor esi, 0xaf0b
pop esi
push ebx
add ebx, 0x95c5
sub ebx, 0x11725
xor ebx, 0x1e79
xor ebx, 0x3cad
pop ebx
mov edx, dword [ebp - 0x78c]
add edx, dword [ebp - 0x160]
movsx eax, byte [edx]
or eax, 0x20
mov ecx, dword [ebp - 0x160]
movsx edx, byte [ebp + ecx - 0x8b4]
or edx, 0x20
cmp eax, edx
jge 0x40576c
mov dword [ebp - 0xce4], 0xffffffff
jmp 0x405776
mov dword [ebp - 0xce4], 1
cmp dword [ebp - 0xce4], 0
jne 0x40578d
mov eax, dword [ebp - 0x1d34]
mov dword [ebp - 0x3d4], eax
jmp 0x40579e
jmp 0x405577
mov ecx, dword [ebp - 0x790]
mov dword [ebp - 0x3d4], ecx
cmp dword [ebp - 0x3d4], 0
je 0x405879
push esi
call 0x4057ba
add byte [ebx + 0x33], cl
xor eax, 0x3d494e38
xor al, byte [ebx - 0x317efb3c]
rcl byte [eax + 0xbe80000], 0
add byte [eax], al
add byte [esi], dh
inc ecx
inc ecx
aaa
dec edx
inc esp
inc esp
push eax
dec ebp
add esp, 4
and esi, 0x15dfe
pop esi
mov edx, dword [ebp - 0x3d4]
mov dword [ebp - 0x1d38], edx
push edi
push edx
add esp, 4
add edi, 0xe605
sub edi, 0xbfad
add edi, 0xc65c
xor edi, 0x1cf7
pop edi
push edi
push esi
add esp, 4
or edi, 0x1276
pop edi
push ebx
add ebx, 0x12e36
pop ebx
mov eax, dword [ebp - 0x1d38]
mov dword [ebp - 0x1d3c], eax
lea ecx, [ebp - 0x16c0]
push ecx
call dword [ebp - 0x1d3c]
test eax, eax
jne 0x405879
push eax
push edx
add esp, 4
sub eax, 0x632
jmp 0x40584b
pop eax
push edx
push eax
add esp, 4
add edx, 0x16b23
or edx, 0x15138
and edx, 0x92bf
add edx, 0x105c
pop edx
mov dword [ebp - 0x7cc], 0
jmp 0x405f64
push edx
jmp 0x405883
add edx, 0x439e
add edx, 0xe31e
pop edx
push edx
xor edx, 0x349e
call 0x4058a7
add byte [edi + 0x48], al
aas