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

Disassembly:
add esp, 4
add edx, 0x16fd4
pop edx
mov dword [ebp - 0x2104], 0xffffffff
push edi
push ecx
add esp, 4
and edi, 0x145d6
jmp 0x4051dd
pop edi
push ecx
push edx
add esp, 4
jmp 0x4051eb
sub ecx, 0xa4bc
or ecx, 0xb980
and ecx, 0xc431
pop ecx
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x4fc], ecx
jmp 0x40521b
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
push edx
push edx
add esp, 4
and edx, 0x8aff
pop edx
push edx
add edx, 0x13424
jmp 0x405235
sub edx, 0x1546
pop edx
push edi
jmp 0x405244
jmp 0x40524c
pop edi
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x405295
push ecx
add ecx, 0x857b
pop ecx
push eax
jmp 0x40526d
xor eax, 0xd263
xor eax, 0xe8fe
pop eax
push eax
or eax, 0x6049
pop eax
push edx
add edx, 0xff69
or edx, 0x18bd
pop edx
jmp 0x4054c3
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xacc], ecx
push edi
sub edi, 0xd355
xor edi, 0x23dc
sub edi, 0x1707c
and edi, 0xf8ff
pop edi
push ebx
push esi
add esp, 4
jmp 0x4052d0
or ebx, 0xd182
xor ebx, 0xdd4a
pop ebx
mov edx, dword [ebp - 0x15c8]
mov dword [ebp - 0xa60], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15c8]
jne 0x405344
push edx
xor edx, 0x6c7f
add edx, 0x640e
call 0x40531b
add byte [eax + 0x40], cl
cmp eax, 0x3e4c383c
add esp, 4
pop edx
push edx
or edx, 0xde74
add edx, 0x4d41
sub edx, 0x14427
pop edx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15d0], ecx
jmp 0x405475
cmp dword [ebp - 0xc80], 0
jle 0x405469
push ecx
push ecx
add esp, 4
xor ecx, 0xfaa0
pop ecx
push edi
call 0x40536d
add byte [ebx + eax*2 + 0x39], cl
xor al, 0x34
inc esi
dec esi
cmp eax, 0x4c48347
or edi, 0xcad
sub edi, 0x362
sub edi, 0x15c59
pop edi
mov edx, dword [ebp - 0xacc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x405405
push edi
push ebx
add esp, 4
add edi, 0x6b30
xor edi, 0x232f
and edi, 0x212f
and edi, 0x8478
pop edi
push esi
push edi
add esp, 4
sub esi, 0x455d
pop esi
push esi
and esi, 0x13861
pop esi
mov eax, dword [ebp - 0xacc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x4053ed
mov dword [ebp - 0x15cc], 1
jmp 0x4053f7
mov dword [ebp - 0x15cc], 0xffffffff
mov ecx, dword [ebp - 0x15cc]
mov dword [ebp - 0xc84], ecx
jmp 0x405469
push edi
call 0x405415
add byte [eax + eax*2 + 0x38], al
dec ebp
inc edx
xor ecx, dword [ecx + 0x41]
aas
add esp, 4
add edi, 0x7f3f
call 0x40542d
add byte [edi + 0x40], cl
dec ebp
inc esp
dec ebx
dec ecx
inc ecx
add esp, 4
sub edi, 0x18344
pop edi
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xacc]
add eax, 1
mov dword [ebp - 0xacc], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x405344
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15d0], edx
cmp dword [ebp - 0x15d0], 0
jne 0x4054be
push eax
sub eax, 0x311
pop eax
push ecx
sub ecx, 0x2bf1
or ecx, 0x13b0e
pop ecx
push edx
or edx, 0xb279
pop edx
push edx
push eax
add esp, 4
or edx, 0x14069
pop edx
push edi
xor edi, 0x6fb2
pop edi
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 0x3e8], eax
jmp 0x4054ff
jmp 0x40520c
push eax
sub eax, 0x5e60
pop eax
push ebx
push eax
add esp, 4
call 0x4054dd
add byte [ebp + 0x3f], cl
xor dh, byte [esp + ecx*2]
dec ecx
inc esi
add esp, 4
pop ebx
push edx
add edx, 0x27af
pop edx
push esi
push edi
add esp, 4
or esi, 0x9314
pop esi
mov dword [ebp - 0x3e8], 0
push edx
push ecx
add esp, 4
jmp 0x40550a
xor edx, 0xe73a
and edx, 0xe340
sub edx, 0x102a5
pop edx
push eax
sub eax, 0x1869e
pop eax
push eax
push esi
add esp, 4
add eax, 0x8681
pop eax
push edx
call 0x405542
add byte [ecx], bh
inc ecx
inc edi
inc ebx
dec ebx
aas
dec edx
inc edi
add esp, 4
sub edx, 0xcb0e
pop edx
push edx
and edx, 0x86e6
sub edx, 0x17eb8
pop edx
push esi
jmp 0x405562
pop esi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xbec]
mov dword [ebp - 0x15a0], eax
push edx
and edx, 0xefa
call 0x40558d
add byte [esi], dh
xor edi, dword [0x33385036]
dec edx
add esp, 4
pop edx
push edx
call 0x4055a0
add byte [edx + 0x3a], cl
dec ebp
xor al, byte [edx + 0x3b]
aas
cmp dword [ebx - 0xd7efb3c], eax
xor dword [ecx], eax
add byte [edx - 0x39], bl
test eax, edi
fdivp st(7)