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
call 0x413ad7
add byte [edx], bh
inc edi
cmp edi, dword [0x8336363c]
les eax, [ecx + eax*4]
leave
sbb byte [ecx], dl
add byte [ecx + 0x50], bl
push esi
add esp, 4
and eax, 0x4917
pop eax
push edx
and edx, 0x13094
sub edx, 0x12e13
pop edx
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 esi
add esp, 4
jmp 0x413b58
xor ecx, 0x277b
sub ecx, 0x11360
pop ecx
push edi
call 0x413b76
add byte [edx], bh
cmp dword [ecx + 0x4b], eax
dec esi
aaa
aas
dec ecx
add esp, 4
or edi, 0xf5dc
pop edi
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
add eax, 0x11634
or eax, 0xc2d7
xor eax, 0x6f38
and eax, 0xe3d2
pop eax
push edi
push eax
add esp, 4
add edi, 0x1fd1
add edi, 0x10805
or edi, 0x16202
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 ecx
sub ecx, 0xa2bc
add ecx, 0xd1b1
pop ecx
push ecx
xor ecx, 0x639c
pop ecx
push eax
xor eax, 0x13d63
xor eax, 0x181d
xor eax, 0x6665
pop eax
push ebx
or ebx, 0x141c9
pop ebx
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x1974], eax
push esi
push edi
add esp, 4
add esi, 0xb20a
add esi, 0x12325
add esi, 0x5b6e
or esi, 0x14b3d
pop esi
push eax
push edi
add esp, 4
jmp 0x413cb8
jmp 0x413cc0
pop eax
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 edx
call 0x413cee
add byte [ecx + edi + 0x4d], al
dec edi
inc ebx
aas
dec edi
xor al, byte [ebx + eax*4 - 0x3c]
add al, 0x5a
push eax
push eax
add esp, 4
and eax, 0x3691
xor eax, 0x15977
xor eax, 0x436
xor eax, 0xde26
pop eax
mov dword [ebp - 0x79c], 0
jmp 0x414409