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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x441154]
test eax, eax
jne 0x42d33a
push str.localeconv
call fcn.0042e630
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42d335
or eax, 0xffffffff
mov dword [0x441154], 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 0x42d365
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x4411c4]
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 0x42d3d0
mov dword [esi + 0x10], ecx
lea ebx, [esi + 0x60]
mov eax, dword [edi]
test eax, eax
jne 0x42d3a5
xor ebx, ebx
jmp 0x42d3ca
cmp byte [eax], 0
jne 0x42d3b1
mov ebx, 0x435af8
jmp 0x42d3ca
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 0x42d417
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
jne 0x42d3f2
xor ebx, ebx
jmp 0x42d411
cmp byte [eax], 0
jne 0x42d3fe
mov ebx, 0x435af8
jmp 0x42d411
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 0x42d473
mov dword [esi + 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x42d469
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 0x42d45d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x42d445
xor eax, eax
mov word [esi + ecx*2 + 0x68], ax
jmp 0x42d473
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x20], eax
je 0x42d4be
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x42d495
xor ebx, ebx
jmp 0x42d4b8
cmp byte [eax], 0
jne 0x42d4a1
mov ebx, 0x435af8
jmp 0x42d4b8
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 0x42d509
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x170]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x42d4e0
xor ebx, ebx
jmp 0x42d503
cmp byte [eax], 0
jne 0x42d4ec
mov ebx, 0x435af8
jmp 0x42d503
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 0x42d554
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x270]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x42d52b
xor ebx, ebx
jmp 0x42d54e
cmp byte [eax], 0
jne 0x42d537
mov ebx, 0x435af8
jmp 0x42d54e
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 0x42d5a8
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x370]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x42d57f
xor ebx, ebx
jmp 0x42d5a2
cmp byte [eax], 0
jne 0x42d58b
mov ebx, 0x435af8
jmp 0x42d5a2
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 0x42d5f3
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x470]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x42d5ca
xor ebx, ebx
jmp 0x42d5ed
cmp byte [eax], 0
jne 0x42d5d6
mov ebx, 0x435af8
jmp 0x42d5ed
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