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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4207ec]
test eax, eax
jne 0x415bfa
push str.localeconv
call fcn.00415f30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x415bf5
or eax, 0xffffffff
mov dword [0x4207ec], 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 0x415c25
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call sub.msvcrt.dll____lc_codepage_func
mov edx, dword [0x42086c]
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 0x415c90
mov dword [esi + 0x10], ecx
lea ebx, [esi + 0x60]
mov eax, dword [edi]
test eax, eax
jne 0x415c65
xor ebx, ebx
jmp 0x415c8a
cmp byte [eax], 0
jne 0x415c71
mov ebx, 0x41d6dc
jmp 0x415c8a
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 0x415cd7
mov dword [esi + 0x14], eax
lea ebx, [esi + 0x64]
mov eax, dword [edi + 4]
test eax, eax
jne 0x415cb2
xor ebx, ebx
jmp 0x415cd1
cmp byte [eax], 0
jne 0x415cbe
mov ebx, 0x41d6dc
jmp 0x415cd1
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 0x415d33
mov dword [esi + 0x1c], eax
cmp dword [edi + 0xc], 0
je 0x415d29
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 0x415d1d
cbw
inc ecx
mov word [edx], ax
add edx, 2
cmp ecx, 3
jne 0x415d05
xor eax, eax
mov word [esi + ecx*2 + 0x68], ax
jmp 0x415d33
mov dword [esi + 0x48], 0
mov eax, dword [edi + 0x10]
cmp dword [esi + 0x20], eax
je 0x415d7e
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x415d55
xor ebx, ebx
jmp 0x415d78
cmp byte [eax], 0
jne 0x415d61
mov ebx, 0x41d6dc
jmp 0x415d78
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 0x415dc9
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x170]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x415da0
xor ebx, ebx
jmp 0x415dc3
cmp byte [eax], 0
jne 0x415dac
mov ebx, 0x41d6dc
jmp 0x415dc3
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 0x415e14
mov dword [esi + 0x28], eax
lea ebx, [esi + 0x270]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x415deb
xor ebx, ebx
jmp 0x415e0e
cmp byte [eax], 0
jne 0x415df7
mov ebx, 0x41d6dc
jmp 0x415e0e
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 0x415e68
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x370]
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x415e3f
xor ebx, ebx
jmp 0x415e62
cmp byte [eax], 0
jne 0x415e4b
mov ebx, 0x41d6dc
jmp 0x415e62
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 0x415eb3
mov dword [esi + 0x34], eax
lea ebx, [esi + 0x470]
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x415e8a
xor ebx, ebx
jmp 0x415ead
cmp byte [eax], 0
jne 0x415e96
mov ebx, 0x41d6dc
jmp 0x415ead
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