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 edx
push edi
add esp, 4
add edx, 0x1026
add edx, 0xc802
xor edx, 0x6d49
pop edx
push ecx
xor ecx, 0x38ae
sub ecx, 0x16f6
xor ecx, 0x15e1e
and ecx, 0x16814
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 ecx
add esp, 4
and ecx, 0x5b86
or ecx, 0x15a8b
sub ecx, 0x2cae
or ecx, 0x17991
pop ecx
push edi
xor edi, 0x8a29
and edi, 0x517f
and edi, 0xabc0
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 esi
push edx
add esp, 4
add esi, 0x169e4
pop esi
push eax
push esi
add esp, 4
xor eax, 0xf5f4
xor eax, 0xc0ec
sub eax, 0x1491b
pop eax
push ecx
add ecx, 0xa04c
sub ecx, 0x10b0a
pop ecx
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 eax
push esi
add esp, 4
or eax, 0xae6
call fcn.00413c6b
add byte [esi], bh
dec edi
xor al, byte [esi + eax*2 + 0x4f]
xor eax, 0xc483333f
add esp, 4
invalid
invalid