Function at 0x100666d0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1008a408]
test eax, eax
jne 0x100666fa
push str.localeconv
call fcn.10068260
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100666f5
or eax, 0xffffffff
mov dword [0x1008a408], eax
push edi
call eax
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60001
jb 0x10066725
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x1008a098]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 4], eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [edi]
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [esi + 0x10], ecx
je 0x10066790
mov dword [esi + 0x10], ecx
lea ebx, [esi + 0x60]
mov eax, dword [edi]
test eax, eax
jne 0x10066765
xor ebx, ebx
jmp 0x1006678a
cmp byte [eax], 0
jne 0x10066771
mov ebx, 0x10078780
jmp 0x1006678a
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x40], ebx
mov eax, dword [edi + 4]
cmp dword [esi + 0x14], eax
je 0x100667d7
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
jne 0x100667b2
xor ebx, ebx
jmp 0x100667d1
cmp byte [eax], 0
jne 0x100667be
mov ebx, 0x10078780
jmp 0x100667d1
push 1
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call edx
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x44], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
cmp dword [esi + 0x1c], eax
je 0x10066833
mov dword [esi + 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x10066829
lea edx, [esi + 0x68]
xor ecx, ecx
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0xc]
mov al, byte [ecx + eax]
test al, al
je 0x1006681d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x10066805
xor eax, eax
mov word [esi + ecx*2 + 0x68], ax
jmp 0x10066833
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x20], eax
je 0x1006687e
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x10066855
xor ebx, ebx
jmp 0x10066878
cmp byte [eax], 0
jne 0x10066861
mov ebx, 0x10078780
jmp 0x10066878
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x4c], ebx
mov eax, dword [edi + 0x14]
cmp dword [esi + 0x24], eax
je 0x100668c9
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x170]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x100668a0
xor ebx, ebx
jmp 0x100668c3
cmp byte [eax], 0
jne 0x100668ac
mov ebx, 0x10078780
jmp 0x100668c3
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x50], ebx
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x28], eax
je 0x10066914
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x270]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100668eb
xor ebx, ebx
jmp 0x1006690e
cmp byte [eax], 0
jne 0x100668f7
mov ebx, 0x10078780
jmp 0x1006690e
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x54], ebx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x20]
cmp dword [esi + 0x30], eax
je 0x10066968
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x370]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x1006693f
xor ebx, ebx
jmp 0x10066962
cmp byte [eax], 0
jne 0x1006694b
mov ebx, 0x10078780
jmp 0x10066962
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x58], ebx
mov eax, dword [edi + 0x24]
cmp dword [esi + 0x34], eax
je 0x100669b3
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x470]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x1006698a
xor ebx, ebx
jmp 0x100669ad
cmp byte [eax], 0
jne 0x10066996
mov ebx, 0x10078780
jmp 0x100669ad
push 0x7f
push ebx
push 0xffffffffffffffff
push eax
push 9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebx + eax*2], cx
mov dword [esi + 0x5c], ebx
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x38], al
movzx eax, byte [edi + 0x29]
mov byte [esi + 0x39], al
movzx eax, byte [edi + 0x2a]
mov byte [esi + 0x3a], al
lea eax, [esi + 0x10]
movzx ecx, byte [edi + 0x2b]
mov byte [esi + 0x3b], cl
movzx ecx, byte [edi + 0x2c]
mov byte [esi + 0x3c], cl
movzx ecx, byte [edi + 0x2d]
mov byte [esi + 0x3d], cl
movzx ecx, byte [edi + 0x2e]
mov byte [esi + 0x3e], cl
movzx ecx, byte [edi + 0x2f]
mov byte [esi + 0x3f], cl
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret