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

Disassembly:
jne 0x413953
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x413c44
mov ecx, dword [ebp - 0x15f0]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15f4], edx
jne 0x41397b
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x413c44
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15f4]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x15f8], ecx
cmp dword [ebp - 0x15f8], 0
jne 0x4139ad
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
jmp 0x413c44
mov eax, dword [ebp - 0x320]
add eax, dword [ebp - 0x15f8]
mov dword [ebp - 0x754], eax
jne 0x4139d2
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], ecx
jmp 0x413c44
mov edx, dword [ebp - 0x754]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1964], eax
mov ecx, dword [ebp - 0x754]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1968], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x196c], ecx
mov dword [ebp - 0x758], 0
jmp 0x413a2c
mov edx, dword [ebp - 0x758]
add edx, 1
mov dword [ebp - 0x758], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x758]
cmp ecx, dword [eax + 0x18]
jae 0x413c38
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1964]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x75c], ecx
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x1968]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x196c]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1970], eax
mov dword [ebp - 0x198], 0
jmp 0x413a9c
mov ecx, dword [ebp - 0x198]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
test eax, eax
je 0x413b4e
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
inc dword [ebp - 0x7a7bf02e]
add byte [eax], al
invalid
push ecx
push edi
add esp, 4
add ecx, 0x8624
pop ecx
push eax
add eax, 0xf402
sub eax, 0x1457f
pop eax
push edx
push edx
add esp, 4
sub edx, 0x11971
pop edx
push ecx
push ecx
add esp, 4
or ecx, 0xbfdd
pop ecx
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
cmp ecx, eax
je 0x413b40
mov ecx, dword [ebp - 0x75c]
add ecx, dword [ebp - 0x198]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x198]
movsx ecx, byte [ebp + eax - 0x894]
cmp edx, ecx
jne 0x413b47
jmp 0x413a8d
jmp 0x413b4e
push ecx
push ebx
add esp, 4
add ecx, 0x7d5b
pop ecx
push ebx
jmp 0x413b63
pop ebx
push esi
sub esi, 0x160b8
pop esi
push edx
add edx, 0x40bf
sub edx, 0x749f
xor edx, 0x1327a
pop edx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
cmp eax, edx
jne 0x413bad
mov dword [ebp - 0xca8], 0
jmp 0x413c1c
push eax
sub eax, 0x12b3a
pop eax
push eax
push ecx
add esp, 4
xor eax, 0x334
and eax, 0x17b86
sub eax, 0x105d7
pop eax
push edi
call 0x413bdb
add byte [ebx + 0x4e], al
xor esi, dword [edx]
cmp dword [edx + 0x3f], ecx
add esp, 4
pop edi
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
or eax, 0x20
cmp ecx, eax
jge 0x413c12
mov dword [ebp - 0xca8], 0xffffffff
jmp 0x413c1c
mov dword [ebp - 0xca8], 1
cmp dword [ebp - 0xca8], 0
jne 0x413c33
mov ecx, dword [ebp - 0x1970]
mov dword [ebp - 0x3f4], ecx
jmp 0x413c44
jmp 0x413a1d
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
cmp dword [ebp - 0x3f4], 0
je 0x413d1f
push edi
jmp 0x413c57
and edi, 0x5bc3
or edi, 0xcab3
xor edi, 0x5f2b
pop edi
push edx
xor edx, 0xc2eb
call 0x413c7f
add byte [edx + 0x36], al
dec edi
push eax
cmp al, 0x3d
inc ebp
dec esi
add esp, 4
pop edx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x1974], eax
push edx
push ecx
add esp, 4
and edx, 0x5fba
xor edx, 0x48ab
add edx, 0x12db6
pop edx
push ebx
add ebx, 0x10c6
add ebx, 0xf236
or ebx, 0x16e8a
or ebx, 0x6d25
pop ebx
mov ecx, dword [ebp - 0x1974]
mov dword [ebp - 0x1978], ecx
lea edx, [ebp - 0x1738]
push edx
call dword [ebp - 0x1978]
test eax, eax
jne 0x413d1f
push esi
push eax
add esp, 4
and esi, 0x1407c
sub esi, 0xcdfa
pop esi
push edi
call 0x413d00
add byte [ebx + edi + 0x32], cl
inc ecx
inc eax
cmp eax, 0x8336323c
les eax, [ecx + eax*4]
out 0xab, eax
push eax
add byte [eax], al
add edi, 0x33c3
pop edi
mov dword [ebp - 0x79c], 0
jmp 0x414409
push edx
sub edx, 0x162f8
add edx, 0x8a69
pop edx
push edi
push eax
add esp, 4
call 0x413d40
add byte [edi + 0x34], cl
push eax
cmp al, byte ss:[eax + 0x45]
xor eax, 0xeb04c483
add eax, 0x444f4836
dec esp
or edi, 0xc5be
pop edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x197c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1980], edx
mov eax, dword [ebp - 0x1980]
mov dword [ebp - 0x15fc], eax
push edi
push edi
add esp, 4
add edi, 0x77e
jmp 0x413d8b
pop edi
push ebx
push eax
add esp, 4
add ebx, 0x5310
or ebx, 0xa62e
xor ebx, 0xb64a
xor ebx, 0x6778
pop ebx
cmp dword [ebp - 0x15fc], 0
jne 0x413dc2
mov dword [ebp - 0x31c], 0
jmp 0x414069
mov ecx, dword [ebp - 0x15fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcb4], eax
push ebx
add ebx, 0x11ffa
sub ebx, 0x315b
call 0x413dee
add byte [ecx], bh
cmp esi, dword [ebx + edi]
inc ebx
cmp byte [ecx], bh
add esp, 4
or ebx, 0x3cc
pop ebx
push edi
xor edi, 0x186a
add edi, 0x169c9
pop edi
cmp dword [ebp - 0xcb4], 0
jne 0x413e1e
mov dword [ebp - 0x31c], 0
jmp 0x414069
mov ecx, dword [ebp - 0xcb4]
mov dword [ebp - 0x50c], ecx