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

Disassembly:
add esp, 4
pop edx
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x324]
mov dword [ebp - 0x100], edx
jne 0x40bc26
push ecx
push edi
add esp, 4
add ecx, 0x6000
xor ecx, 0x604c
sub ecx, 0x13de1
pop ecx
push edx
push ecx
add esp, 4
or edx, 0xebc5
add edx, 0xfdfe
pop edx
push esi
jmp 0x40bc14
pop esi
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xac], eax
jmp 0x40bfbf
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0x80]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x424], edx
push esi
push ecx
add esp, 4
xor esi, 0x3f5b
call 0x40bc4f
add byte [edi], dh
aaa
inc edi
dec edx
xor eax, dword [eax - 0x7d]
les eax, [esi + ebx*2]
push edx
push ecx
add esp, 4
sub edx, 0x22d3
jmp 0x40bc63
add edx, 0x153d6
pop edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x80]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x428], ecx
push ebx
push edi
add esp, 4
sub ebx, 0x68b0
pop ebx
push edx
push edi
add esp, 4
or edx, 0x12afd
sub edx, 0xaee
pop edx
push ecx
add ecx, 0x2f19
or ecx, 0xfad
and ecx, 0xfa0d
pop ecx
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x80]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x104], 0
jmp 0x40bcdb
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x104]
cmp eax, dword [edx + 0x18]
jae 0x40bfb3
push edx
xor edx, 0x607e
jmp 0x40bcfe
or edx, 0x13d02
pop edx
push esi
add esi, 0x11746
pop esi
push edi
call 0x40bd1e
add byte [0x48474a4f], bh
xor al, 0x48
aas
xor dh, byte [edx]
add esp, 4
pop edi
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x80]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10c], eax
push eax
or eax, 0x12522
sub eax, 0x5095
pop eax
push ebx
call 0x40bd59
add byte [ebx], bh
cmp al, byte [edi + eax*2 + 0x4a]
dec ecx
dec ebp
cmp dword [edx + 0x50], ecx
add esp, 4
add ebx, 0x1bb6
jmp 0x40bd6b
pop ebx
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x428]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x80]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x430], edx
push ecx
add ecx, 0x178d3
sub ecx, 0x30c
call 0x40bda9
add byte [edi], bh
xor eax, 0x4c3d3540
inc eax
dec edx
add esp, 4
call 0x40bdbc
add byte [eax + 0x3f], dl
cmp eax, dword [ecx + ecx*2 + 0x40]
inc esp
inc edi
inc ecx
add esp, 4
pop ecx
mov dword [ebp - 0x3c], 0
jmp 0x40bdd2
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
test edx, edx
je 0x40be6e
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [ebp + eax - 0x184]
test ecx, ecx
je 0x40be6e
push edi
xor edi, 0x13514
and edi, 0xf115
and edi, 0x7a2a
sub edi, 0xd676
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x15e02
xor edi, 0x241b
add edi, 0x13b32
pop edi
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ebp + ecx - 0x184]
cmp eax, edx
je 0x40be60
mov eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x3c]
movsx ecx, byte [eax]
xor ecx, 0x20
mov edx, dword [ebp - 0x3c]
movsx eax, byte [ebp + edx - 0x184]
cmp ecx, eax
jne 0x40be67
jmp 0x40bdc9
jmp 0x40be6e
push edx
sub edx, 0xfac9
call 0x40be82
add byte [ebp + edi + 0x43], cl
inc ebp
inc edi
inc esi
dec eax
add esp, 4
xor edx, 0x18479
pop edx
push ebx
add ebx, 0x14a33
sub ebx, 0x15900
sub ebx, 0x16210
pop ebx
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [ebp + eax - 0x184]
cmp edx, ecx
jne 0x40beca
mov dword [ebp - 0x258], 0
jmp 0x40bf65
push eax
jmp 0x40bed3
jmp 0x40bed8
jmp 0x40bede
pop eax
push edx
jmp 0x40bee6
pop edx
push edi
jmp 0x40beed
jmp 0x40bef5
add edi, 0x16887
pop edi
mov edx, dword [ebp - 0x10c]
add edx, dword [ebp - 0x3c]
movsx eax, byte [edx]
or eax, 0x20
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ebp + ecx - 0x184]
or edx, 0x20
cmp eax, edx
jge 0x40bf29
mov dword [ebp - 0x258], 0xffffffff
jmp 0x40bf65
push esi
xor esi, 0x7c38
pop esi
push edi
or edi, 0xe662
sub edi, 0x3d59
jmp 0x40bf43
sub edi, 0x13c39
pop edi
push esi
call 0x40bf57
add byte [edx + eax*2], bh
aas
inc eax
cmp byte [ebx], bh
add esp, 4
pop esi
mov dword [ebp - 0x258], 1
cmp dword [ebp - 0x258], 0
jne 0x40bfae
push eax
add eax, 0xf045
pop eax
push edi
xor edi, 0x402d
add edi, 0x53cd
pop edi
push ebx
add ebx, 0x5da
sub ebx, 0xdc10
and ebx, 0xcaf9
pop ebx
push edi
or edi, 0x1383f
pop edi
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0xac], eax
jmp 0x40bfbf
jmp 0x40bccc
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x1bc], edx