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

Disassembly:
mov edx, dword [ebp - 0x4cc]
add edx, 1
mov dword [ebp - 0x4cc], edx
push ecx
call 0x616268
add byte [ebx + edi + 0x47], cl
inc edi
dec edi
xor eax, 0xeb04c483
pop es
xor cl, byte [edi + 0x4e]
inc ebp
inc ecx
dec ecx
cmp ebx, dword [ecx + 0x56]
push ebx
add esp, 4
xor esi, 0x7b3f
sub esi, 0x1057f
and esi, 0x6784
pop esi
mov eax, dword [ebp - 0x4cc]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x6162d5
push eax
xor eax, 0x15377
xor eax, 0x2299
pop eax
push ebx
call 0x6162ba
add byte [ebx], dh
inc esi
xor dh, byte [esi]
dec esp
aaa
inc edi
add esp, 4
or ebx, 0x3b43
or ebx, 0x79c6
xor ebx, 0x11af2
pop ebx
jmp 0x616503
mov dword [ebp - 0xc08], 7
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0xa68], ecx
push edx
call 0x6162fa
add byte [esi], bh
dec ecx
cmp dword [eax + 0x44], ecx
inc ebp
push eax
cmp byte [ebx + 0x4eb04c4], al
dec ebp
dec ecx
dec edi
inc edx
sub edx, 0x66d5
call 0x616319
add byte [ecx], bh
dec edx
cmp eax, 0x45474d32
cmp byte [ebx - 0x74a5fb3c], al
xchg ebp, eax
inc esp
jmp 0x616321
invalid
add byte [eax], al
pop esi
push ebx
push ecx
add esp, 4
sub ebx, 0xe901
pop ebx
mov eax, dword [ebp - 0xa68]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa64]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x61642d
mov dword [ebp - 0x14c0], 1
jmp 0x616437
mov dword [ebp - 0x14c0], 0xffffffff
mov ecx, dword [ebp - 0x14c0]
mov dword [ebp - 0xc0c], ecx
jmp 0x6164a9
mov edx, dword [ebp - 0xc0c]
mov dword [ebp - 0x14c4], edx
cmp dword [ebp - 0x14c4], 0
jne 0x6164fe
push edi
or edi, 0xd07a
sub edi, 0x7357
pop edi
push edx
push edi
add esp, 4
or edx, 0x729d
sub edx, 0x8234
pop edx
push eax
push eax
add esp, 4
sub eax, 0x97e7
or eax, 0x15996
pop eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x3cc], eax
jmp 0x61653f
jmp 0x61624c
push edx
or edx, 0x17d49
sub edx, 0x1036e
add edx, 0x16989
add edx, 0x14861
pop edx
push ecx
push ecx
add esp, 4
sub ecx, 0x5265
add ecx, 0x5ea7
and ecx, 0x6ab
pop ecx
mov dword [ebp - 0x3cc], 0
push edx
push esi
add esp, 4
xor edx, 0x5383
call 0x616556
add byte [0x373f3640], bh
add esp, 4
and edx, 0xa113
xor edx, 0x730
pop edx
push ebx
jmp 0x616570
pop ebx
push ecx
push eax
add esp, 4
jmp 0x61657d
pop ecx
push edi
push ebx
add esp, 4
jmp 0x616588
and edi, 0xb77b
jmp 0x616594
pop edi
push esi
sub esi, 0xd8be
or esi, 0x11425
pop esi
mov ecx, 1
imul edx, ecx, 0
lea eax, [ebp + edx - 0xb80]
mov dword [ebp - 0x14c8], eax
push ebx
push ecx
add esp, 4
or ebx, 0x14904
jmp 0x6165c9
call 0x6165d7
add byte [ecx], bh
push eax
dec ebx
push eax
dec edi
inc ebx
xor al, 0x3f
add esp, 4
call 0x6165e6
add byte [esi + 0x42], al
inc edx
inc edx
cmp edi, dword [ebx]
add esp, 4
pop ebx
mov dword [ebp - 0x1fac], 0xffffffff
push edx
push ebx
add esp, 4
and edx, 0xef3a
and edx, 0x4a3c
sub edx, 0x9f4e
xor edx, 0x181b3
pop edx
push esi
and esi, 0x178ca
pop esi
push edx
push edx
add esp, 4
and edx, 0x1532d
pop edx
mov ecx, dword [ebp - 0x3c0]
mov dword [ebp - 0x4d0], ecx
jmp 0x616643
mov edx, dword [ebp - 0x4d0]
add edx, 1
mov dword [ebp - 0x4d0], edx
push esi
sub esi, 0xdf87
call 0x616657
add byte [edx + 0x3c], al
dec ecx
aas
aaa
dec eax
inc eax
add esp, 4
xor esi, 0xbec6
pop esi
push esi
and esi, 0x147d7
or esi, 0x6d85
sub esi, 0x94cb
pop esi
mov eax, dword [ebp - 0x4d0]
sub eax, dword [ebp - 0x3c0]
cmp eax, 0xffffffff
jb 0x6166bd
push eax
jmp 0x61668f
xor eax, 0x13206
call fcn.006166a5
add byte [edx], dh
mov dword [ebp - 0xc10], 7
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0xa60], ecx
push esi
push edi
add esp, 4
xor esi, 0x4aa5
and esi, 0x129d
call 0x6166f3
add byte [esi + 0x32], cl
inc ebx
xor edi, dword [ebx]
inc ebp
dec ecx
inc eax
add esp, 4
pop esi
push esi
add esi, 0x117
xor esi, 0xfd7b
jnp 0x6166ff
add byte [eax], al
pop esi
mov edx, dword [ebp - 0x14c8]
mov dword [ebp - 0x9f0], edx
mov dword [ebp - 0xc14], 0
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x14c8]
jne 0x61676c
push edx
push ecx
add esp, 4
call 0x61673d
add byte [edi], dh
aas
cmp cl, byte [ebx + 0x33]
dec esp
dec ebx
dec esp
dec esp
add esp, 4
pop edx
push eax
add eax, 0x128d2
and eax, 0xadf9
or eax, 0x3df3
and eax, 0x18285
pop eax
mov ecx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], ecx
jmp 0x61689d
cmp dword [ebp - 0xc10], 0
jle 0x616891
push ebx
jmp 0x616782
and ebx, 0x130ee
pop ebx
push edx
xor edx, 0xe024
pop edx
push ecx
call 0x6167a0
add byte [ebx], bh
cmp al, 0x4e
dec eax
aas
cmp cl, byte [ebx + eax*4 - 0x3c]
add al, 0xeb
add eax, 0x3533354c
push eax
pop ecx
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x9f0]
movzx edx, byte [ecx]
cmp eax, edx
je 0x61682d
push esi
add esi, 0x10c7
call 0x6167d5
add byte [ecx + ecx*2], dh
xor eax, dword [edx + 0x3d]
dec ecx
inc ebp
add esp, 4
add esi, 0xe2ad
pop esi
push eax
sub eax, 0x10659
and eax, 0xa2e3
sub eax, 0xb88c
pop eax
mov eax, dword [ebp - 0xa60]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x9f0]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x616815
mov dword [ebp - 0x14cc], 1
jmp 0x61681f
mov dword [ebp - 0x14cc], 0xffffffff
mov ecx, dword [ebp - 0x14cc]
mov dword [ebp - 0xc14], ecx
jmp 0x616891
push ecx
or ecx, 0xcf5f
pop ecx
push edx
push esi
add esp, 4
xor edx, 0x24f3
or edx, 0x1e8e
sub edx, 0x9f9d
call 0x61685b
add byte [esi], bh
xor bh, byte [0x4e3f374d]
cmp ecx, dword [ebx + eax*4 - 0x3c]
add al, 0x5a
mov edx, dword [ebp - 0xc10]
sub edx, 1
mov dword [ebp - 0xc10], edx
mov eax, dword [ebp - 0xa60]
add eax, 1
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0x9f0]
add ecx, 1
mov dword [ebp - 0x9f0], ecx
jmp 0x61676c
mov edx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], edx
cmp dword [ebp - 0x14d0], 0
jne 0x6168e6
push edi
jmp 0x6168af
call 0x6168bc
add byte [ecx + edi], dh
inc ebx
aas
xor al, 0x4c
add esp, 4
call 0x6168ce
add byte [esi + 0x43], al
dec esi
xor al, 0x39
inc ebx
xor al, byte [ebx + 0x35]
add esp, 4
add edi, 0x1127f
pop edi
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0xa5c], eax
jmp 0x616927
jmp 0x616634