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

Disassembly:
add esp, 4
pop esi
push ecx
add ecx, 0xd15a
sub ecx, 0xe306
xor ecx, 0x12381
or ecx, 0xed7b
pop ecx
mov ecx, dword [ebp - 0x2098]
mov dword [ebp - 0x15c0], ecx
push edx
push ebx
add esp, 4
add edx, 0x5763
sub edx, 0x138e7
pop edx
push eax
push edi
add esp, 4
sub eax, 0x1e59
jmp 0x410097
pop eax
push esi
push eax
add esp, 4
and esi, 0x14253
pop esi
mov edx, dword [ebp - 0x14]
add edx, 0xfe
imul eax, dword [ebp - 0x10], 0xfe
add eax, 0x56f3663b
imul ecx, dword [ebp - 0x10], 0xfe
sub eax, ecx
xor edx, eax
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x15c0], edx
mov edx, dword [ebp - 0x3f0]
mov dword [ebp - 0x1ffc], edx
mov eax, dword [ebp - 0x1ffc]
add eax, dword [ebp - 0x15c0]
mov dword [ebp - 0x3f0], eax
push edx
push ebx
add esp, 4
and edx, 0x12c2a
pop edx
push ecx
push ecx
add esp, 4
jmp 0x410103
pop ecx
push eax
add eax, 0x15d78
sub eax, 0xe13e
and eax, 0x951d
xor eax, 0xe014
pop eax
mov byte [ebp - 0xbec], 0x52
mov byte [ebp - 0xbeb], 0xb9
mov byte [ebp - 0xbea], 0x10
mov byte [ebp - 0xbe9], 0x10
mov byte [ebp - 0xbe8], 0x10
mov byte [ebp - 0xbe7], 0x10
mov byte [ebp - 0xbe6], 0x5a
push edx
and edx, 0xaccc
add edx, 0xe391
pop edx
push ebx
push esi
add esp, 4
and ebx, 0xacd3
jmp 0x410170
call 0x41017d
add byte [edi], bh
cmp bh, byte [esi]
cmp eax, 0x83333541
les eax, [ebx + ebx*2]
mov byte [ebp - 0xbe4], 0x52
mov byte [ebp - 0xbe3], 0xb9
mov byte [ebp - 0xbe2], 0x20
mov byte [ebp - 0xbe1], 0x20
mov byte [ebp - 0xbe0], 0x20
mov byte [ebp - 0xbdf], 0x20
mov byte [ebp - 0xbde], 0x5a
push edx
and edx, 0x7997
add edx, 0x18f
jmp 0x4101c6
pop edx
push edi
push edi
add esp, 4
add edi, 0xb443
or edi, 0x596c
sub edi, 0x6046
jmp 0x4101e3
pop edi
mov dword [ebp - 0x209c], 0xe
push ebx
push edx
add esp, 4
and ebx, 0x83de
pop ebx
push esi
sub esi, 0x112c5
sub esi, 0x3ec0
pop esi
push eax
push edi
add esp, 4
sub eax, 0xbbd
sub eax, 0x39ba
or eax, 0xd683
pop eax
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbec]
mov dword [ebp - 0x15c4], eax
push esi
push ebx
add esp, 4
and esi, 0x774e
or esi, 0x10dc0
pop esi
push esi
add esi, 0x11ec9
pop esi
push ecx
push ecx
add esp, 4
and ecx, 0x5bc6
add ecx, 0x7dd7
add ecx, 0x12da5
pop ecx
mov dword [ebp - 0x20a0], 0xffffffff
push ecx
push ecx
add esp, 4
or ecx, 0x4525
and ecx, 0x664e
or ecx, 0xa0c4
pop ecx
push ecx
push ecx
add esp, 4
xor ecx, 0x586
or ecx, 0x13627
pop ecx
push ebx
add ebx, 0x11d11
pop ebx
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x4fc], ecx
jmp 0x4102c0
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
push ebx
push edx
add esp, 4
or ebx, 0xda80
pop ebx
push ecx
or ecx, 0x13d7
xor ecx, 0x10112
pop ecx
push edx
call 0x4102e8
add byte [edi], bh
dec eax
cmp dword [esi], edi
dec edi
xor al, 0x43
add esp, 4
and edx, 0x17400
pop edx
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x41033a
push edx
or edx, 0x1844e
call 0x410317
add byte [ebp + 0x38], cl
inc edx
inc ebx
cmp edi, dword [0x4c48333]
pop edx
push edx
push eax
add esp, 4
jmp 0x410328
or edx, 0x108de
add edx, 0x9616
pop edx
jmp 0x410568
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xac4], ecx
push edx
call 0x41035e
add byte [edi], dh
cmp eax, 0x49373946
push eax
add esp, 4
and edx, 0x1543c
pop edx
push ecx
push edx
add esp, 4
and ecx, 0x493e
pop ecx
push ecx
jmp 0x41037b
and ecx, 0x7be
pop ecx
mov edx, dword [ebp - 0x15c4]
mov dword [ebp - 0xa60], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15c4]
jne 0x4103e9
push edi
push ebx
add esp, 4
add edi, 0x12926
pop edi
push edx
add edx, 0x8fd
or edx, 0x165fd
pop edx
push ecx
push ebx
add esp, 4
or ecx, 0x2271
add ecx, 0x673c
and ecx, 0xa9f5
pop ecx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], ecx
jmp 0x41051a
cmp dword [ebp - 0xc80], 0
jle 0x41050e
push ecx
push edx
add esp, 4
add ecx, 0xdca0
call 0x41040f
add byte [ebx + 0x37], cl
dec ebp
inc ebx
cmp eax, 0x83434f4c
les eax, [eax + ebp*8]
pop es
add byte [eax], al
add byte [eax], al
inc eax
inc esp
cmp al, 0x39
dec ebp
add esp, 4
xor ecx, 0x968f
pop ecx
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x4104aa
push edx
push ebx
add esp, 4
add edx, 0x7613
call 0x410456
add byte [esp + esi + 0x42], cl
dec edi
dec ebp
xor eax, 0x4c4833e
call 0x410466
add byte [edi], dh
xor al, 0x47
dec ecx
cmp dword [ebx - 0x1d7efb3c], eax
scasd eax, dword es:[edi]
xor byte [eax], al
add byte [edx - 0x75], bl
test dword [esi*8 - 0x49f00001], edi
or byte [ebx - 0xa5f6b], cl
dec dword [edi]
mov dh, 2
cmp ecx, eax
jle 0x410492
mov dword [ebp - 0x15c8], 1
jmp 0x41049c
mov dword [ebp - 0x15c8], 0xffffffff
mov ecx, dword [ebp - 0x15c8]
mov dword [ebp - 0xc84], ecx
jmp 0x41050e
push esi
push ecx
add esp, 4
jmp 0x4104b5
or esi, 0x978b
pop esi
push eax
push esi
add esp, 4
sub eax, 0x14c2
pop eax
push edx
and edx, 0x11638
add edx, 0xf365
and edx, 0xac38
pop edx
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xac4]
add eax, 1
mov dword [ebp - 0xac4], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x4103e9
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15cc], edx
cmp dword [ebp - 0x15cc], 0
jne 0x410563
push eax
sub eax, 0x697d
sub eax, 0x3041
xor eax, 0x5875
and eax, 0xaa1c
pop eax
push ecx
push ecx
add esp, 4
add ecx, 0x94dc
pop ecx
push esi
push eax
add esp, 4
add esi, 0x1435c
pop esi
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x4105a4
jmp 0x4102b1
push ebx
xor ebx, 0x19b2
xor ebx, 0x10910
pop ebx
push esi
and esi, 0x6966
and esi, 0xa8ab
or esi, 0x1398a
call 0x410596
add byte [ebp + 0x46], al
aaa
inc esi
inc eax
xor eax, dword [ebx - 0x38a1fb3c]
test dword [eax], ebx
cld
invalid
push ebx
push ebx
add esp, 4
jmp 0x4105ae
or ebx, 0x2c8b
jmp 0x4105b9
pop ebx
push eax
and eax, 0x1001d
pop eax
push ebx
add ebx, 0x12391
and ebx, 0x907a
sub ebx, 0x18231
pop ebx
push edx
push edx
add esp, 4
xor edx, 0x16d69
pop edx
push edi
call 0x4105f2
add byte [edi + 0x3c], al
aaa
cmp dl, byte [eax + 0x34]
cmp al, 0x3f
aas
add esp, 4
sub edi, 0xb33b
or edi, 0x10a48
add edi, 0x11793
pop edi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbe4]
mov dword [ebp - 0x15d0], eax
push eax
jmp 0x410626
pop eax
push esi
push edi
add esp, 4
xor esi, 0x5b1c
or esi, 0x180dd
sub esi, 0x3e57
call 0x41064b
add byte [0x333f4a49], bh
dec esp
cmp byte [ebx - 0x38a1fb3c], al
test dword [edi + ebx*8 - 1], ebx